Skip to content

Commit 34bfa83

Browse files
authored
Update run.sh (#37)
* Update run.sh * Update run.sh
1 parent 1f38b56 commit 34bfa83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • kstreams-app-version-checker

kstreams-app-version-checker/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ for workload in $WORKLOADS; do
7171
continue
7272
fi
7373

74-
current_version=$(kubectl -n $NAMESPACE get $type $name -o json | jq -r --arg container "$container" '.spec.template.spec.containers[] | select(.name==$container) | .image' | awk -F':' '{print $2}')
74+
current_version=$(kubectl -n $NAMESPACE get $type $name -o json | jq -r --arg container "$container" '.spec.template.spec.containers[] | select(.name==$container) | .image' | awk -F':' '{print $(NF)}')
7575
echo "current_version_tag: $current_version"
7676

7777
if [ -z "$current_version" ]; then

0 commit comments

Comments
 (0)