From 9742fc5516073f2920994285a80c921bddc1e720 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 10 Dec 2024 12:08:19 -0500 Subject: [PATCH] internal/truststore/trust_certificate_test: provide valid CertOptions Signed-off-by: Simon Deziel --- internal/truststore/trust_certificate_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/truststore/trust_certificate_test.go b/internal/truststore/trust_certificate_test.go index bc4cc334..9ef7b435 100644 --- a/internal/truststore/trust_certificate_test.go +++ b/internal/truststore/trust_certificate_test.go @@ -241,7 +241,7 @@ resource "lxd_trust_certificate" "cert" { } func generateCert(t *testing.T) (certificate string, fingerprint string) { - certBytes, _, err := lxd_shared.GenerateMemCert(true, false) + certBytes, _, err := lxd_shared.GenerateMemCert(true, lxd_shared.CertOptions{AddHosts: false}) if err != nil { t.Fatalf("Failed to generate certificate: %v", err) }