Skip to content

Commit

Permalink
Correct syntax for debug log message
Browse files Browse the repository at this point in the history
  • Loading branch information
tr1ck3r committed Dec 12, 2020
1 parent f760d59 commit c1870a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/pki/vcert.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ func (b *backend) ClientVenafi(ctx context.Context, s *logical.Storage, policyNa
}

if config.Zone != "" {
b.Logger().Debug("Using zone [%s] from Policy.", config.Zone)
b.Logger().Debug("Using zone from Venafi Policy.", "zone", config.Zone)
} else {
b.Logger().Debug("Using zone [%s] from venafi secret. Policy zone not found.", secret.Zone)
b.Logger().Debug("Using zone from Venafi secret since Policy zone not found.", "zone", secret.Zone)
}

return secret.getConnection(config.Zone)
Expand Down

0 comments on commit c1870a8

Please sign in to comment.