From 7f63fe13ebc238ed3158d83548bd9e6876f57071 Mon Sep 17 00:00:00 2001 From: Anton Korotkov <106995168+korotkov-aerospike@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:40:39 +0200 Subject: [PATCH] Use password path in restore (#77) --- pkg/shared/restore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/shared/restore.go b/pkg/shared/restore.go index 792f67da..19db01be 100644 --- a/pkg/shared/restore.go +++ b/pkg/shared/restore.go @@ -57,7 +57,7 @@ func (r *RestoreShared) RestoreRun(restoreRequest *model.RestoreRequestInternal) setCBool(&restoreConfig.use_services_alternate, restoreRequest.DestinationCuster.UseServicesAlternate) setCString(&restoreConfig.user, restoreRequest.DestinationCuster.User) - setCString(&restoreConfig.password, restoreRequest.DestinationCuster.Password) + setCString(&restoreConfig.password, restoreRequest.DestinationCuster.GetPassword()) setCString(&restoreConfig.auth_mode, restoreRequest.DestinationCuster.AuthMode) setCUint(&restoreConfig.parallel, restoreRequest.Policy.Parallel)