Skip to content

Commit

Permalink
updated parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh committed Dec 1, 2022
1 parent 811a004 commit ab5e95d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/dnsrecord/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (a *actuator) Reconcile(ctx context.Context, dns *extensionsv1alpha1.DNSRec
}

// debug logger for dnsClient
raw.LogDetails("actuator reconcile dnsclient: " + fmt.Sprintf("%+v", dnsClient.client))
raw.LogDetails("actuator reconcile dnsclient: " + fmt.Sprintf("%+v", dnsClient))

// debug logger for secretref
// raw.LogDetails("reconcile secret ref: " + fmt.Sprintf("%+v", dns.Spec.SecretRef))
Expand Down
2 changes: 1 addition & 1 deletion pkg/dnsclient/dnsclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func NewDNSClientFromSecretRef(ctx context.Context, c client.Client, secretRef c
debug_str := "dnsclient_secretref " + string(username) + " " + string(password) + " " + string(host)
runtimelog.Log.Error(errLog, debug_str)

return NewDNSClient(ctx, string(host), string(username), string(password))
return NewDNSClient(ctx, string(username), string(password), string(host))

}

Expand Down

0 comments on commit ab5e95d

Please sign in to comment.