Skip to content

Commit

Permalink
replace which with command -v
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 committed Jul 3, 2024
1 parent 6b92de4 commit b39bd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry-port-forward.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ run_launchd() {

launchctl submit \
-l "$label" \
-p "$(which kubectl)" \
-p "$(command -v kubectl)" \
-- kubectl --kubeconfig="$PWD/files/kubeconfig.yaml" port-forward -n kube-system svc/docker-registry 30666:5000
}

Expand Down

0 comments on commit b39bd6f

Please sign in to comment.