summaryrefslogtreecommitdiffstats
path: root/example/example_test.go
diff options
context:
space:
mode:
authorcert-manager-prow[bot] <167124277+cert-manager-prow[bot]@users.noreply.github.com>2026-06-07 20:27:02 +0000
committerGitHub <noreply@github.com>2026-06-07 20:27:02 +0000
commit568f1afdddc42e9919fd3d4e9fe9fbb4aac10152 (patch)
treec464a0e7008d78e7cdea04b5e00e3a22c4a833dc /example/example_test.go
parent40206c1bcd555cdf85cb88d0e30dd4e491f5d299 (diff)
parentbecbcff749c0be33225c6c18837a31b41a5f4f6a (diff)
downloadcert-manager-webhook-hostinger-568f1afdddc42e9919fd3d4e9fe9fbb4aac10152.tar.gz
cert-manager-webhook-hostinger-568f1afdddc42e9919fd3d4e9fe9fbb4aac10152.zip
Merge pull request #118 from cert-manager/renovate/kubernetes-go-deps
fix(deps): update kubernetes go deps to v0.36.1
Diffstat (limited to 'example/example_test.go')
-rw-r--r--example/example_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/example_test.go b/example/example_test.go
index ef4dde3..76796b4 100644
--- a/example/example_test.go
+++ b/example/example_test.go
@@ -59,7 +59,7 @@ func TestExampleSolver_Present_Cleanup(t *testing.T) {
msg.Id = dns.Id()
msg.RecursionDesired = true
msg.Question = make([]dns.Question, 1)
- msg.Question[0] = dns.Question{dns.Fqdn(test.hostname), dns.TypeTXT, dns.ClassINET}
+ msg.Question[0] = dns.Question{Name: dns.Fqdn(test.hostname), Qtype: dns.TypeTXT, Qclass: dns.ClassINET}
in, err := dns.Exchange(msg, "127.0.0.1:"+port.String())
assert.NoError(t, err, "Presented record %s not resolvable", test.hostname)
@@ -84,7 +84,7 @@ func TestExampleSolver_Present_Cleanup(t *testing.T) {
msg.Id = dns.Id()
msg.RecursionDesired = true
msg.Question = make([]dns.Question, 1)
- msg.Question[0] = dns.Question{dns.Fqdn(test.hostname), dns.TypeTXT, dns.ClassINET}
+ msg.Question[0] = dns.Question{Name: dns.Fqdn(test.hostname), Qtype: dns.TypeTXT, Qclass: dns.ClassINET}
in, err := dns.Exchange(msg, "127.0.0.1:"+port.String())
assert.NoError(t, err, "Presented record %s not resolvable", test.hostname)