Fix ironic endpoint urls

Change-Id: I957d6ba1dc339fd0a7b805b889b0516e205c3900
This commit is contained in:
Jiri Tomasek 2016-01-04 10:06:41 +01:00
parent 8466a49d36
commit b65efa6ab7
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ dist/js
dist/css
dist/fonts
dist/img
tests_results.xml

View File

@ -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}`}
)));
}