mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
Merge pull request #4442 from jakemcdermott/fix-4440
[3.7.2] Include instance_id in host edit request
This commit is contained in:
commit
2737cded72
@ -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…
Reference in New Issue
Block a user