mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-20 06:25:07 +00:00
fix function env var
This commit is contained in:
@@ -28,12 +28,6 @@ type Function struct {
|
|||||||
limit int
|
limit int
|
||||||
}
|
}
|
||||||
|
|
||||||
type Func struct {
|
|
||||||
Name string `json:"name"`
|
|
||||||
Tenant string `json:"tenant"`
|
|
||||||
Project string `json:"project"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFunction() *Function {
|
func NewFunction() *Function {
|
||||||
v, err := config.Get("function.service_account_json")
|
v, err := config.Get("function.service_account_json")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user