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 0a67bc8 commit 465e6bd
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 465e6bd

Please sign in to comment.