Skip to content

Commit

Permalink
Omit Inactive keys by default
Browse files Browse the repository at this point in the history
  • Loading branch information
eversC committed Apr 29, 2019
1 parent b0102e4 commit 789c58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rotate/rotatekeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func validateFlags(account, provider, project string) (err error) {
//keysOfProviders returns keys from all the configured providers that have passed
// through filtering
func keysOfProviders(account, provider, project string, c config.Config) (accountKeys []keys.Key, err error) {
if accountKeys, err = keys.Keys(keyProviders(provider, project, c)); err != nil {
if accountKeys, err = keys.Keys(keyProviders(provider, project, c), false); err != nil {
return
}
logger.Infof("Found %d keys in total", len(accountKeys))
Expand Down

0 comments on commit 789c58a

Please sign in to comment.