From 0449dc42097122dddeac4a8ffe7ddea14556271f Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 6 Jan 2020 10:39:31 -0600 Subject: [PATCH] include search registries in varlink info response fixes: #4793 Signed-off-by: baude --- pkg/varlinkapi/system.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/varlinkapi/system.go b/pkg/varlinkapi/system.go index b81ff11ba0..3e1c1210b9 100644 --- a/pkg/varlinkapi/system.go +++ b/pkg/varlinkapi/system.go @@ -89,9 +89,8 @@ func (i *LibpodAPI) GetInfo(call iopodman.VarlinkCall) error { Graph_driver_options: fmt.Sprintf("%v", store["GraphOptions"]), Graph_status: graphStatus, } - if len(info) > 2 { - registriesInterface := info[2].Data["registries"] + registriesInterface := info[2].Data["search"] if registriesInterface != nil { registries = registriesInterface.([]string) }