mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 04:50:23 +00:00
ci: remove unused function
remove unused function from the install-snapshot script Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
98b2a32767
commit
11031091ef
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user