Skip to content

Commit

Permalink
PMM-12223 fixed var define
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadym Yarosh committed Oct 13, 2023
1 parent 0d3ca17 commit d491994
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pmm-tests/check_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def verify_command(command):

def main():
args = parse_args()
pmm_minor_v = int(args.version.split('.')[1])

if args.env in "ami":
verify_command('rpm -qa | grep percona-qan-api2-' + args.version)
Expand Down Expand Up @@ -101,7 +102,7 @@ def main():

docker_version = os.getenv("DOCKER_VERSION")
do_docker_way = os.getenv("PERFORM_DOCKER_WAY_UPGRADE")
pmm_minor_v = int(args.version.split('.')[1])

grafana_cli = "grafana cli" if pmm_minor_v >= 39 else "grafana-cli"

### PMM-T1758 - Verify vertamedia-clickhouse-datasource plugin is not installed after upgrade to 2.38.0
Expand Down

0 comments on commit d491994

Please sign in to comment.