diff --git a/lib/cli/scripts/kubectl-image.ts b/lib/cli/scripts/kubectl-image.ts index 736136ad73..142d5427b9 100644 --- a/lib/cli/scripts/kubectl-image.ts +++ b/lib/cli/scripts/kubectl-image.ts @@ -120,7 +120,7 @@ function main(args) { setContext(args); useContext(args); let namespaces: string []; - if (namespaces === undefined || args.namespace === null || args.namespace === 'default') { + if (namespaces === undefined || args.namespaces === null || args.namespaces === 'default') { logger.info(`No namespaces provided. Fetch all of them`); namespaces = getNamespaces(); } else {