Merge pull request #2282 from lifupan/main

monitor: mv the monitor socket into sbs directory
This commit is contained in:
Chelsea Mafrica 2021-07-20 15:26:31 -07:00 committed by GitHub
commit b817340f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
// shim management endpoint
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"))
}