server: Use crio socket for info/inspect endpoints
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
f08a5f7162
commit
a913cb0b5d
2 changed files with 6 additions and 5 deletions
|
@ -413,8 +413,9 @@ func main() {
|
|||
}()
|
||||
|
||||
go func() {
|
||||
err := service.StartInfoEndpoints()
|
||||
if err != nil {
|
||||
err := service.StartInfoEndpoints(lis)
|
||||
// graceful shutdown doesn't quite work with unix domain sockets
|
||||
if err != nil && !strings.Contains(err.Error(), "use of closed network connection") {
|
||||
logrus.Fatalf("Failed to start container inspect endpoint: %v", err)
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue