Skip to content

Commit

Permalink
Adjust for new go-common-libs
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
  • Loading branch information
AaronDewes committed Feb 25, 2024
1 parent 94d5d89 commit 48b5bf5
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 48b5bf5

Please sign in to comment.