Fix typo on namespace (#6252)

This commit is contained in:
Maurizio Vitale 2020-10-15 18:27:35 +01:00 committed by GitHub
parent 93f3daa4ef
commit 6de13bb4b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {