Skip to content

Commit 6a8a0df

Browse files
committed
change to
1 parent aad08d4 commit 6a8a0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plans/migrate.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
run_command('hostname', $all_hosts) # verify can connect to targets
2222

2323
# verify the cluster we are migrating from is operational and is a supported architecture
24-
$cluster = run_task('peadm::get_peadm_config', $targets).first.value
24+
$cluster = run_task('peadm::get_peadm_config', $old_primary_host).first.value
2525
$error = getvar('cluster.error')
2626
if $error {
2727
fail_plan($error)

0 commit comments

Comments
 (0)