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:
softwarefactory-project-zuul[bot] 2020-07-09 21:17:18 +00:00 committed by GitHub
commit e4470f1200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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