Skip to content

Commit

Permalink
internal/truststore/trust_certificate_test: provide valid CertOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Dec 10, 2024
1 parent e579413 commit 9742fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/truststore/trust_certificate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9742fc5

Please sign in to comment.