Skip to content

Commit 66eb370

Browse files
committed
chore: silence usage on getRequiredProperties errors
Signed-off-by: spbsoluble <1661003+spbsoluble@users.noreply.github.com>
1 parent 1300d27 commit 66eb370

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/storesBulkOperations.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ var storesCreateFromCSVCmd = &cobra.Command{
215215
log.Info().Msgf("Checking for minimum required fields for creating certificate stores")
216216
intID, reqPropertiesForStoreType, pErr := getRequiredProperties(st, *kfClient)
217217
if pErr != nil {
218+
cmd.SilenceUsage = true
218219
return pErr
219220
}
220221

0 commit comments

Comments
 (0)