Skip to content

Commit

Permalink
Use password path in restore (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
korotkov-aerospike authored Dec 12, 2023
1 parent 2e31c8f commit 7f63fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/shared/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7f63fe1

Please sign in to comment.