Skip to content
Snippets Groups Projects
Commit 41b6cd6b authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update service creation

parent 54c1ad58
Branches
No related tags found
1 merge request!41update service creation
...@@ -504,14 +504,12 @@ hostDefaultgroups="groups[]=iml groups[]=iml-server" ...@@ -504,14 +504,12 @@ hostDefaultgroups="groups[]=iml groups[]=iml-server"
_action=update _action=update
fi fi
# if ObjAction $_action service; then 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
echo "OK $_action service ${IDC_service__obj_name}" echo "OK $_action service ${IDC_service__obj_name}"
return 0 return 0
else
echo "ERROR $( http.getStatuscode ) :/ $_action service ${IDC_service__obj_name}"
return 1
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment