fix: pass by ref
This commit is contained in:
parent
446e81ca19
commit
8abc41e46f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue