From 375d790789e61a0b41402791558965d8dbc6332e Mon Sep 17 00:00:00 2001 From: Derek Su Date: Fri, 23 Feb 2024 04:21:39 +0000 Subject: [PATCH] Update arguments of namspaced Execute() Longhorn 7939 Signed-off-by: Derek Su --- pkg/proxy/volume.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/volume.go b/pkg/proxy/volume.go index 217535ec1..eb9014a23 100644 --- a/pkg/proxy/volume.go +++ b/pkg/proxy/volume.go @@ -336,7 +336,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) } }