We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d82ddd + dc4da3c commit c3b1beeCopy full SHA for c3b1bee
1 file changed
resource/commands/unbind-route-service.sh
@@ -0,0 +1,15 @@
1
+
2
+domain=$(get_option '.domain')
3
+service_instance=$(get_option '.service_instance')
4
+hostname=$(get_option '.hostname')
5
+path=$(get_option '.path')
6
7
+logger::info "Executing $(logger::highlight "$command"): $service_instance"
8
9
+cf::target "$org" "$space"
10
11
+args=("$domain" "$service_instance")
12
+[ -n "$hostname" ] && args+=(--hostname "$hostname")
13
+[ -n "$path" ] && args+=(--path "$path")
14
15
+cf::cf unbind-route-service "${args[@]}"
0 commit comments