Hide curl command with auth token from logs
Curl command contains auth token to cloud and it's printed in console, let's hide it with "+x". Change-Id: I3cd61678de85c487335802019d3308f4c854636e
This commit is contained in:
parent
23914fab1a
commit
fb6700fcdb
|
@ -199,10 +199,11 @@ sleep 5
|
||||||
if ! systemctl is-active openstack-bmc-* >/dev/null
|
if ! systemctl is-active openstack-bmc-* >/dev/null
|
||||||
then
|
then
|
||||||
systemctl status openstack-bmc-*
|
systemctl status openstack-bmc-*
|
||||||
|
set +x
|
||||||
$signal_command --data-binary '{"status": "FAILURE"}'
|
$signal_command --data-binary '{"status": "FAILURE"}'
|
||||||
echo "********** $unit failed to start **********"
|
echo "********** $unit failed to start **********"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
set +x
|
||||||
$signal_command --data-binary '{"status": "SUCCESS"}'
|
$signal_command --data-binary '{"status": "SUCCESS"}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue