Skip to content
Snippets Groups Projects

update service creation

Merged Hahn Axel (hahn) requested to merge director-cli-errorcode into master
1 file
+ 4
6
Compare changes
  • Side-by-side
  • Inline
+ 4
6
@@ -504,14 +504,12 @@ hostDefaultgroups="groups[]=iml groups[]=iml-server"
_action=update
fi
# if ObjAction $_action service; then
ObjAction $_action service
if [ -z "$(http.isOk)" ]; then
echo "ERROR $( http.getStatuscode ) :/ $_action service ${IDC_service__obj_name}"
return 1
else
if ObjAction $_action service; then
echo "OK $_action service ${IDC_service__obj_name}"
return 0
else
echo "ERROR $( http.getStatuscode ) :/ $_action service ${IDC_service__obj_name}"
return 1
fi
}
Loading