From 873ba7f93912e3422b59bebf898552cf5eb4813d Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 16 Dec 2021 19:47:04 +0000 Subject: [PATCH] fix examples --- examples/function/delete/deleteAFunction.go | 1 - examples/function/deploy/deployAFunction.go | 1 - examples/function/describe/describeFunctionStatus.go | 1 - 3 files changed, 3 deletions(-) diff --git a/examples/function/delete/deleteAFunction.go b/examples/function/delete/deleteAFunction.go index 46562d1..2e7f907 100755 --- a/examples/function/delete/deleteAFunction.go +++ b/examples/function/delete/deleteAFunction.go @@ -12,7 +12,6 @@ func DeleteAfunction() { functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) rsp, err := functionService.Delete(&function.DeleteRequest{ Name: "my-first-func", - Project: "tests", }) fmt.Println(rsp, err) } diff --git a/examples/function/deploy/deployAFunction.go b/examples/function/deploy/deployAFunction.go index bd006f1..8eafd1f 100755 --- a/examples/function/deploy/deployAFunction.go +++ b/examples/function/deploy/deployAFunction.go @@ -13,7 +13,6 @@ func DeployAfunction() { rsp, err := functionService.Deploy(&function.DeployRequest{ Entrypoint: "helloworld", Name: "my-first-func", - Project: "tests", Repo: "github.com/m3o/nodejs-function-example", Runtime: "nodejs14", }) diff --git a/examples/function/describe/describeFunctionStatus.go b/examples/function/describe/describeFunctionStatus.go index 284a0e0..bacefb2 100755 --- a/examples/function/describe/describeFunctionStatus.go +++ b/examples/function/describe/describeFunctionStatus.go @@ -12,7 +12,6 @@ func DescribeFunctionStatus() { functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN")) rsp, err := functionService.Describe(&function.DescribeRequest{ Name: "my-first-func", - Project: "tests", }) fmt.Println(rsp, err) }