Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Aug 31, 2017
1 parent 822ab79 commit b10b0f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/logical/pki/cert_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ func generateCreationBundle(b *backend,
ttl, err = parseutil.ParseDurationSecond(role.TTL)
if err != nil {
return nil, errutil.UserError{Err: fmt.Sprintf(
"invalid requested ttl: %s", err)}
"invalid role ttl: %s", err)}
}
}
}
Expand All @@ -748,7 +748,7 @@ func generateCreationBundle(b *backend,
maxTTL, err = parseutil.ParseDurationSecond(role.MaxTTL)
if err != nil {
return nil, errutil.UserError{Err: fmt.Sprintf(
"invalid ttl: %s", err)}
"invalid role max_ttl: %s", err)}
}
}

Expand Down

0 comments on commit b10b0f4

Please sign in to comment.