Skip to content

Commit

Permalink
fixes typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
luispresuelVenafi committed Feb 28, 2024
1 parent 21f6eb4 commit 4864bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/venafi/tpp/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ func (c *Connector) prepareRequest(req *certificate.Request, zone string) (tppRe
// override API's timeout for the CA to finish issuance. In TLSPDC this means
// using WorkToDoTimeout attribute.
// We make sure to get the seconds from
// "Timeout" as it is a "TimeDuration" and remote (TLPSDC) only expects value in seconds.
// "Timeout" as it is a "TimeDuration" and remote (TLSPDC) only expects value in seconds.
if req.Timeout > 0 {
seconds := int64(req.Timeout.Seconds())
secondsString := strconv.FormatInt(seconds, 10)
Expand Down

0 comments on commit 4864bc0

Please sign in to comment.