Skip to content

Commit 7dd36b3

Browse files
committed
fix: use double quotes everywhere
1 parent b93384c commit 7dd36b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api/v1/dnsrecord_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type DNSRecordSpec struct {
4646
// +kubebuilder:default=true
4747
// +optional
4848
Proxied *bool `json:"proxied,omitempty"`
49-
// Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic' (e.g. 3600)
49+
// Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for "automatic" (e.g. 3600)
5050
// +kubebuilder:validation:Minimum=1
5151
// +kubebuilder:validation:Maximum=86400
5252
// +kubebuilder:default=1

config/crd/bases/cloudflare-operator.io_dnsrecords.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ spec:
9797
ttl:
9898
default: 1
9999
description: Time to live, in seconds, of the DNS record. Must be
100-
between 60 and 86400, or 1 for 'automatic' (e.g. 3600)
100+
between 60 and 86400, or 1 for "automatic" (e.g. 3600)
101101
maximum: 86400
102102
minimum: 1
103103
type: integer

internal/controller/account_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (r *AccountReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
9999

100100
cfApiToken := string(secret.Data["apiToken"])
101101
if cfApiToken == "" {
102-
if err := r.markFailed(ctx, account, errors.New("Secret has no 'apiToken' key")); err != nil {
102+
if err := r.markFailed(ctx, account, errors.New("Secret has no key named \"apiToken\"")); err != nil {
103103
log.Error(err, "Failed to update Account status")
104104
return ctrl.Result{}, err
105105
}

0 commit comments

Comments
 (0)