Fix #245 missing image value

Signed-off-by: Han Verstraete <welteki@pm.me>
This commit is contained in:
Han Verstraete 2022-02-23 21:42:59 +00:00 committed by Alex Ellis
parent ab4708246d
commit 4b132315c7

View File

@ -31,6 +31,7 @@ func MakeReplicaReaderHandler(client *containerd.Client) func(w http.ResponseWri
if f, err := GetFunction(client, functionName, lookupNamespace); err == nil {
found := types.FunctionStatus{
Name: functionName,
Image: f.image,
AvailableReplicas: uint64(f.replicas),
Replicas: uint64(f.replicas),
Namespace: f.namespace,