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
No related branches found
No related tags found
1 merge request!41update service creation
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment