mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-20 17:04:02 +00:00
Merge pull request #2282 from lifupan/main
monitor: mv the monitor socket into sbs directory
This commit is contained in:
commit
b817340f94
@ -186,5 +186,5 @@ func (s *service) mountPprofHandle(m *http.ServeMux, ociSpec *specs.Spec) {
|
|||||||
// SocketAddress returns the address of the abstract domain socket for communicating with the
|
// SocketAddress returns the address of the abstract domain socket for communicating with the
|
||||||
// shim management endpoint
|
// shim management endpoint
|
||||||
func SocketAddress(id string) string {
|
func SocketAddress(id string) string {
|
||||||
return fmt.Sprintf("unix://%s", filepath.Join(string(filepath.Separator), "run", "vc", id, "shim-monitor"))
|
return fmt.Sprintf("unix://%s", filepath.Join(string(filepath.Separator), "run", "vc", "sbs", id, "shim-monitor.sock"))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user