From 789c58a94739e76ae97b64bd11cf2813e05686e4 Mon Sep 17 00:00:00 2001 From: eversC Date: Mon, 29 Apr 2019 10:10:16 +0100 Subject: [PATCH] Omit Inactive keys by default --- pkg/rotate/rotatekeys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rotate/rotatekeys.go b/pkg/rotate/rotatekeys.go index 78f78d41..0be0cb68 100644 --- a/pkg/rotate/rotatekeys.go +++ b/pkg/rotate/rotatekeys.go @@ -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))