Skip to content

Commit 5c6bd94

Browse files
(PE-40379) change way I get config
1 parent 3bb56c2 commit 5c6bd94

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
@@ -45,7 +45,7 @@
4545
}
4646

4747
# get the config from new_primary_target and verify config looks as expected
48-
$peadm_config = run_task('peadm::get_peadm_config', $new_primary_target, '_catch_errors' => true).first.to_data()
48+
$peadm_config = run_task('peadm::get_peadm_config', $primary_target).first.value
4949
out::message("peadm_config: ${peadm_config}")
5050
out::message("peadm_config params: ${peadm_config['params']}")
5151
out::message("new_replica_target:${new_replica_target}.")

0 commit comments

Comments
 (0)