Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
7a181b49
Commit
7a181b49
authored
Aug 28, 2013
by
Stavros Sachtouris
Browse files
Adjust snf-astakos to init with correct URL
parent
109c8171
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/commands/snf-astakos.py
View file @
7a181b49
...
...
@@ -83,9 +83,8 @@ class _astakos_init(_command_init):
astakos_endpoints
=
self
.
auth_base
.
get_service_endpoints
(
self
.
_custom_type
(
'astakos'
)
or
'identity'
,
self
.
_custom_version
(
'astakos'
)
or
''
)
base_url
=
astakos_endpoints
[
'SNF:uiURL'
]
base_url
=
base_url
[:
-
3
]
#base_url = ''.join(base_url.split('/ui'))
base_url
=
astakos_endpoints
[
'publicURL'
]
base_url
,
sep
,
suffix
=
base_url
.
rpartition
(
'identity'
)
else
:
base_url
=
self
.
_custom_url
(
'astakos'
)
if
not
base_url
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment