Skip to content

Commit a631dbd

Browse files
committed
adding reviewed changes from github, fixing errors that variable names were causing
1 parent 917bcc7 commit a631dbd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

spec/acceptance/peadm_spec/plans/test_migration.pp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
String $primary_host,
33
String $new_primary_host,
44
Optional[String] $new_replica_host = undef,
5-
Optional[String] $primary_postgresql_host = undef,
65
Optional[String] $new_primary_postgresql_host = undef,
76
Optional[String] $new_replica_postgresql_host = undef,
87
Optional[String] $upgrade_version = undef,
@@ -11,7 +10,6 @@
1110
$primary_target = $primary_host ? { '' => undef, default => peadm::get_targets($primary_host, 1) }
1211
$new_primary_target = $new_primary_host ? { '' => undef, default => peadm::get_targets($new_primary_host, 1) }
1312
$new_replica_target = $new_replica_host ? { '' => undef, default => peadm::get_targets($new_replica_host, 1) }
14-
$primary_postgresql_target = $primary_postgresql_host ? { '' => undef, default => peadm::get_targets($primary_postgresql_host, 1) }
1513
$new_primary_postgresql_target = $new_primary_postgresql_host ? { '' => undef, default => peadm::get_targets($new_primary_postgresql_host, 1) }
1614
$new_replica_postgresql_target = $new_replica_postgresql_host ? { '' => undef, default => peadm::get_targets($new_replica_postgresql_host, 1) }
1715

@@ -32,8 +30,7 @@
3230
new_primary_host => $new_primary_target,
3331
upgrade_version => $upgrade_version,
3432
replica_host => $new_replica_target,
35-
primary_postgresql_host => $primary_postgresql_target,
36-
new_primary_postgresql_host => $new_primary_postgresql_target,
33+
primary_postgresql_host => $new_primary_postgresql_target,
3734
)
3835

3936
# run infra status on the new primary

0 commit comments

Comments
 (0)