diff options
Diffstat (limited to 'helm/plugin/tasks.py')
-rw-r--r-- | helm/plugin/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helm/plugin/tasks.py b/helm/plugin/tasks.py index 5ff7df8..4ffcd81 100644 --- a/helm/plugin/tasks.py +++ b/helm/plugin/tasks.py @@ -220,7 +220,7 @@ def config(**kwargs): if configJson == '' and configUrl == '': ctx.logger.debug("Will use default HELM value") elif configJson == '' and configUrl != '': - if configUrl.find("@"): + if configUrl.find("@") != -1: head, end = configUrl.rsplit('@', 1) head, auth = head.rsplit('//', 1) configUrl = head + '//' + end |