mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
remove double status
This commit is contained in:
@@ -367,10 +367,15 @@ func (e *Function) Describe(ctx context.Context, req *function.DescribeRequest,
|
||||
return err
|
||||
}
|
||||
rsp.Function = f
|
||||
} else {
|
||||
rsp.Function = &function.Func{
|
||||
Name: req.Name,
|
||||
Project: req.Project,
|
||||
}
|
||||
}
|
||||
|
||||
// set describe info
|
||||
rsp.Status = m["status"].(string)
|
||||
rsp.Function.Status = m["status"].(string)
|
||||
rsp.Timeout = m["timeout"].(string)
|
||||
rsp.UpdatedAt = m["updateTime"].(string)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user