From 465e6bde711e13139e71f9845f830895188266fc Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Sun, 25 Feb 2024 00:38:45 +0100 Subject: [PATCH] Adjust for new go-common-libs Signed-off-by: Aaron Dewes --- 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 815a8b6c9..dacddb8ca 100644 --- a/pkg/proxy/volume.go +++ b/pkg/proxy/volume.go @@ -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) } }