Fix ironic endpoint urls
Change-Id: I957d6ba1dc339fd0a7b805b889b0516e205c3900
This commit is contained in:
parent
8466a49d36
commit
b65efa6ab7
|
@ -3,3 +3,4 @@ dist/js
|
|||
dist/css
|
||||
dist/fonts
|
||||
dist/img
|
||||
tests_results.xml
|
||||
|
|
|
@ -25,7 +25,7 @@ class IronicApiService {
|
|||
*/
|
||||
getNodes() {
|
||||
return when(request(this.defaultRequest(
|
||||
{ url: LoginStore.getServiceUrl('ironic') + 'nodes' }
|
||||
{ url: LoginStore.getServiceUrl('ironic') + '/nodes' }
|
||||
)));
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ class IronicApiService {
|
|||
*/
|
||||
getNode(uuid) {
|
||||
return when(request(this.defaultRequest(
|
||||
{ url: `${LoginStore.getServiceUrl('ironic')}nodes/${uuid}`}
|
||||
{ url: `${LoginStore.getServiceUrl('ironic')}/nodes/${uuid}`}
|
||||
)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue