Skip to content

Commit f106dd1

Browse files
mcka1nreidmv
authored andcommitted
removes replica condition to fail the plan
1 parent a138020 commit f106dd1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spec/acceptance/peadm_spec/plans/upgrade_test_cluster.pp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
$replica_host = $t.filter |$n| { $n.vars['role'] == 'replica' }
1616
$replica_postgresql_host = $t.filter |$n| { $n.vars['role'] == 'replica-pdb-postgresql' }
1717

18-
if $replica_host == [] {
19-
fail_plan('"replica" role missing from inventory, cannot continue')
20-
}
21-
2218
$params = {
2319
primary_host => $primary_host,
2420
replica_host => $replica_host,

0 commit comments

Comments
 (0)