fix: pass by ref

This commit is contained in:
Derrick Hammer 2024-02-01 18:25:32 -05:00
parent 446e81ca19
commit 8abc41e46f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ func (r *RenterDefault) MultipartUpload(params MultiPartUploadParams) error {
var redundancy api.RedundancySettings
err := r.GetSetting(ctx, "redundancy", redundancy)
err := r.GetSetting(ctx, "redundancy", &redundancy)
if err != nil {
return err
}