Skip to content

Commit

Permalink
Fix Get current calico version
Browse files Browse the repository at this point in the history
Signed-off-by: hang.jiang <hang.jiang@daocloud.io>
  • Loading branch information
hang.jiang committed Mar 9, 2023
1 parent b0793df commit 7375217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/network_plugin/calico/tasks/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
block:
- name: Get current calico version
shell: "set -o pipefail && {{ bin_dir }}/calicoctl.sh version | grep 'Client Version:' | awk '{ print $3}'"
ignore_errors: true
args:
executable: /bin/bash
register: calico_version_on_server
Expand Down

0 comments on commit 7375217

Please sign in to comment.