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:
Mrunal Patel 2017-08-30 16:25:48 -07:00
parent f557020994
commit 004330df8f
2 changed files with 24 additions and 4 deletions

View file

@ -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)
}