Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Mar 4, 2024
1 parent 52269c4 commit 81dcef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .20_kubernetes.bash
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ __kube_funcs() {
# @param {string=} $1 App label
# @param {...string} Additional kubectl options
ktop() {
watch "kubectl top pods --containers ${1:+--selector="app=$1"} \"${@:2}\" | awk 'NR == 1; NR > 1 {print \$0 | \"sort -n -k3 -r\"}'"
watch "kubectl top pods --containers ${1:+--selector="app=$1"} \"${*:2}\" | awk 'NR == 1; NR > 1 {print \$0 | \"sort -n -k3 -r\"}'"
}
}
__kube_funcs

0 comments on commit 81dcef9

Please sign in to comment.