mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-29 10:13:25 +00:00
Populate CreatedAt
Populates the CreatedAt value from the container's info field. Ref: https://github.com/openfaas/faas-provider/issues/59 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
c7d9353991
commit
659f98cc0d
@ -26,6 +26,7 @@ func MakeReplicaReaderHandler(client *containerd.Client) func(w http.ResponseWri
|
||||
Secrets: f.secrets,
|
||||
EnvVars: f.envVars,
|
||||
EnvProcess: f.envProcess,
|
||||
CreatedAt: f.createdAt,
|
||||
}
|
||||
|
||||
functionBytes, _ := json.Marshal(found)
|
||||
|
Reference in New Issue
Block a user