Commit ed8fffed authored by Arie Peterson's avatar Arie Peterson 🐚
Browse files

Remove old attempts from driver

parent 47b8b256
......@@ -140,41 +140,6 @@ unmount() {
exit 0
}
# getvolumename() {
# debug "getvolumename $*"
# local options=$1
#
# diskID=$(jq -r '."cosmos-id"' <<<"$options")
# debug "found diskID $diskID"
#
# output "{\"status\":\"Success\",\"volumeName\":\"$diskID\"}"
# exit 0
# }
#
# attach() {
# debug "attach $*"
# local mountpath=$1
# local options=$2
#
# getparams "$options"
# ghostaction "attach" "$apitoken" "$diskid" "$vpsid"
#
# output "{\"status\":\"success\",\"device\":}"
# exit 0
# }
#
# detach() {
# debug "detach $*"
# local mountPath=$1
# local options=$2
#
# getParams "$options"
# ghostAction "detach" "$apiToken" "$diskID" "$vpsID"
#
# output "{\"status\":\"Success\"}"
# exit 0
# }
# This is the command Kubernetes wants us to perform.
op=$1
......@@ -193,15 +158,6 @@ case "$op" in
unmount)
unmount $*
;;
# getvolumename)
# getvolumename $*
# ;;
# attach)
# attach $*
# ;;
# detach)
# detach $*
# ;;
*)
debug "not supported: $op $*"
output "{\"status\":\"Not supported\"}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment