mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-20 13:06:38 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
282b05802c |
@ -58,10 +58,10 @@ func ListFunctions(client *containerd.Client, namespace string) (map[string]*Fun
|
|||||||
name := c.ID()
|
name := c.ID()
|
||||||
f, err := GetFunction(client, name, namespace)
|
f, err := GetFunction(client, name, namespace)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("error getting function %s: ", name)
|
log.Printf("skipping %s, error: %s", name, err)
|
||||||
return functions, err
|
} else {
|
||||||
|
functions[name] = &f
|
||||||
}
|
}
|
||||||
functions[name] = &f
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return functions, nil
|
return functions, nil
|
||||||
|
Reference in New Issue
Block a user