Skip to content

Commit

Permalink
feat(arn): Fixes linter errors
Browse files Browse the repository at this point in the history
Closes VC-32723
  • Loading branch information
rvelaVenafi committed Jun 11, 2024
1 parent a7e4124 commit f1df0e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions venafi/resource_venafi_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func resourceVenafiCertificateCreate(ctx context.Context, d *schema.ResourceData

//Add warning message when no password for private key was set and CSR origin is service.
if origin == csrService && !passOk {
detailMsg := fmt.Sprintf("No key password provided for service generated CSR. Certificate contents (certificate, chain, private key) not stored in terraform state")
detailMsg := "No key password provided for service generated CSR. Certificate contents (certificate, chain, private key) not stored in terraform state"
tflog.Info(ctx, detailMsg)
}

Expand Down Expand Up @@ -924,7 +924,7 @@ func resourceVenafiCertificateImport(ctx context.Context, d *schema.ResourceData
return nil, err
}
if keyPassword == "" {
detailMsg := fmt.Sprintf("No key password provided for certificate import. Certificate contents (certificate, chain, private key) not stored in terraform state")
detailMsg := "No key password provided for certificate import. Certificate contents (certificate, chain, private key) not stored in terraform state"
tflog.Info(ctx, detailMsg)
}

Expand Down

0 comments on commit f1df0e2

Please sign in to comment.