Skip to content
Snippets Groups Projects
Commit 7cfc28e2 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Remove unnecessary backslash

parent 68a9079c
No related branches found
No related tags found
1 merge request!86Fix(cleanup_knightly): Remove unnecessary backslash
Pipeline #10559 canceled with stages
in 20 minutes and 31 seconds
......@@ -445,7 +445,7 @@ cleanup_knightly:
script:
- >
SERVER_TO_BE_DELETE=($(openstack server list --name $OOD_INSTANCE_NAME --sort-column Image --sort-descending -f value -c ID
| awk -v NSTK=$NUM_SERVER_TO_KEEP -v OID=$OLD_INSTANCE_ID '$0 != OID {count++} \
| awk -v NSTK=$NUM_SERVER_TO_KEEP -v OID=$OLD_INSTANCE_ID '$0 != OID {count++}
$0 != OID && count>NSTK {print}'))
- |
for svr in ${SERVER_TO_BE_DELETE[@]}; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment