Skip to content

Commit 1d434ad

Browse files
(PE-40377) dont check upgrade version if it is a blank string
1 parent 718ad48 commit 1d434ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/peadm_spec/plans/test_migration.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
}
8787
8888
# if a new PE version was specified then check it has been upgraded
89-
if $upgrade_version {
89+
if $upgrade_version and $upgrade_version != '' {
9090
if $peadm_config['value']['pe_version'] == $upgrade_version {
9191
out::message("Upgraded to new PE version ${upgrade_version} correctly")
9292
} else {

0 commit comments

Comments
 (0)