Skip to content

Commit

Permalink
ci: remove unused function
Browse files Browse the repository at this point in the history
remove unused function from the
install-snapshot script

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 authored and mergify[bot] committed Feb 15, 2024
1 parent 98b2a32 commit 1103109
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/install-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ function create_or_delete_resource() {
kubectl "${operation}" -f "${VOLUME_SNAPSHOT}"
}

function delete_snapshot_crd() {
kubectl delete -f "${SNAPSHOTCLASS}" --ignore-not-found
kubectl delete -f "${VOLUME_SNAPSHOT_CONTENT}" --ignore-not-found
kubectl delete -f "${VOLUME_SNAPSHOT}" --ignore-not-found
}

case "${1:-}" in
install)
install_snapshot_controller "$2"
Expand Down

0 comments on commit 1103109

Please sign in to comment.