mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Include instance_id in host edit request
This commit is contained in:
parent
d0ac028265
commit
ddbe20d41b
@ -26,6 +26,9 @@
|
||||
description: $scope.description,
|
||||
enabled: $scope.host.enabled
|
||||
};
|
||||
if (typeof $scope.host.instance_id !== 'undefined') {
|
||||
host.instance_id = $scope.host.instance_id;
|
||||
}
|
||||
HostsService.put(host).then(function(){
|
||||
$state.go('.', null, {reload: true});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user