diff --git a/pkg/controller/dnsrecord/actuator.go b/pkg/controller/dnsrecord/actuator.go index 9b73d7d..b2fe7ac 100644 --- a/pkg/controller/dnsrecord/actuator.go +++ b/pkg/controller/dnsrecord/actuator.go @@ -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)) diff --git a/pkg/dnsclient/dnsclient.go b/pkg/dnsclient/dnsclient.go index 70a5de8..59c627d 100644 --- a/pkg/dnsclient/dnsclient.go +++ b/pkg/dnsclient/dnsclient.go @@ -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)) }