Skip to content

Commit

Permalink
Update ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
FedeAlonso and github-actions[bot] authored Oct 23, 2023
1 parent a01fe71 commit 043a198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ods_ci/tasks/Resources/Provisioning/GPU/gpu_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function rerun_accelerator_migration() {

dashboard_rs=$(oc get rs -n redhat-ods-applications | grep rhods-dashboard- | awk '{print $1;exit}')
echo "Deleting ReplicaSet $dashboard_rs"
if ! oc delete rs $dashboard_rs -n redhat-ods-applications;
if ! oc delete rs "$dashboard_rs" -n redhat-ods-applications;
then
printf "ERROR: When trying to delete the dashboard replica set\n"
return 1
Expand Down

0 comments on commit 043a198

Please sign in to comment.