mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
runtime: set the sandbox storage path static
Since we now have "unix://" kind of socket returned by the SocketAddress() function, there is no more need to build the sandbox storage path dynamically to keep OS compatibility. Fixes: #2738 Suggested-by: Christophe de Dinechin <dinechin@redhat.com> Signed-off-by: Francesco Giudici <fgiudici@redhat.com>
This commit is contained in:
parent
315295e0ef
commit
2304a59601
@ -185,7 +185,7 @@ func (s *service) mountPprofHandle(m *http.ServeMux, ociSpec *specs.Spec) {
|
||||
|
||||
// GetSandboxesStoragePath returns the storage path where sandboxes info are stored
|
||||
func GetSandboxesStoragePath() string {
|
||||
return filepath.Join(string(filepath.Separator), "run", "vc", "sbs")
|
||||
return "/run/vc/sbs"
|
||||
}
|
||||
|
||||
// SocketAddress returns the address of the unix domain socket for communicating with the
|
||||
|
Loading…
Reference in New Issue
Block a user