diff --git a/plugin/hashicorp_key_management/mysql-test/vault/suite.pm b/plugin/hashicorp_key_management/mysql-test/vault/suite.pm index 1d78985f363e4..fce1737311dad 100644 --- a/plugin/hashicorp_key_management/mysql-test/vault/suite.pm +++ b/plugin/hashicorp_key_management/mysql-test/vault/suite.pm @@ -4,13 +4,13 @@ package My::Suite::Vault; use strict; -return "Hashicorp Vault key management utility not found" - unless `sh -c "command -v vault"`; - return "You need to set the value of the VAULT_ADDR variable" unless $ENV{VAULT_ADDR}; return "You need to set the value of the VAULT_TOKEN variable" unless $ENV{VAULT_TOKEN}; +return "Hashicorp Vault key management utility not found" + unless `sh -c "command -v vault"`; + bless {};