server: Add a /info endpoint
This will give a way for client to get information about crio daemon. Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
f557020994
commit
004330df8f
2 changed files with 24 additions and 4 deletions
|
@ -413,7 +413,7 @@ func main() {
|
|||
}()
|
||||
|
||||
go func() {
|
||||
err := service.StartInspectEndpoint()
|
||||
err := service.StartInfoEndpoints()
|
||||
if err != nil {
|
||||
logrus.Fatalf("Failed to start container inspect endpoint: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue