summaryrefslogtreecommitdiffstats
path: root/dcae-cli/dcae_cli/util/profiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-cli/dcae_cli/util/profiles.py')
-rw-r--r--dcae-cli/dcae_cli/util/profiles.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dcae-cli/dcae_cli/util/profiles.py b/dcae-cli/dcae_cli/util/profiles.py
index 7accf24..83a7ca9 100644
--- a/dcae-cli/dcae_cli/util/profiles.py
+++ b/dcae-cli/dcae_cli/util/profiles.py
@@ -95,7 +95,8 @@ def reinit_profiles():
"""
# Grab the remote profiles and merge it in
try:
- new_profiles = util.fetch_file_from_nexus("/dcae-cli/profiles.json")
+ server_url = config.get_server_url()
+ new_profiles = util.fetch_file_from_web(server_url, "/dcae-cli/profiles.json")
except:
# REVIEW: Should we allow users to manually setup their config if not
# able to pull from remote server?