mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
Merge pull request #7592 from jakemcdermott/fix-7591
Include instance_id in host edit request Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -26,6 +26,9 @@
|
|||||||
description: $scope.description,
|
description: $scope.description,
|
||||||
enabled: $scope.host.enabled
|
enabled: $scope.host.enabled
|
||||||
};
|
};
|
||||||
|
if (typeof $scope.host.instance_id !== 'undefined') {
|
||||||
|
host.instance_id = $scope.host.instance_id;
|
||||||
|
}
|
||||||
HostsService.put(host).then(function(){
|
HostsService.put(host).then(function(){
|
||||||
$state.go('.', null, {reload: true});
|
$state.go('.', null, {reload: true});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user