Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting spdk_tgt log level and flags #402

Merged
merged 8 commits into from
Mar 7, 2024
2 changes: 1 addition & 1 deletion pkg/proxy/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChanYiLin @derekbit already fixed the issue here.

return nil, grpcstatus.Errorf(grpccodes.Internal, "remount failed with error: %v", err)
}
}
Expand Down