Skip to content

Commit

Permalink
Adjust for new go-common-libs
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDewes committed Feb 24, 2024
1 parent b0e52c4 commit 1cf463b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func (p *Proxy) RemountReadOnlyVolume(ctx context.Context, req *rpc.RemountVolum
"remount,rw",
mp.Path,
}
if _, err := nsexec.Execute("mount", opts, lhtypes.ExecuteDefaultTimeout); err != nil {
if _, err := nsexec.Execute(nil, "mount", opts, lhtypes.ExecuteDefaultTimeout); err != nil {
return nil, grpcstatus.Errorf(grpccodes.Internal, "remount failed with error: %v", err)
}
}
Expand Down

0 comments on commit 1cf463b

Please sign in to comment.