Client generator update (#262)

* Generated a bunch of clients.

* Builds go client.

* Removed test line.

* Changed dependencies to fnproject/fn_go

* Fix tests.
This commit is contained in:
Travis Reeder
2017-09-14 10:57:22 -07:00
committed by GitHub
parent 0f6db73834
commit 9f87b1ead0
81 changed files with 18118 additions and 420 deletions

View File

@@ -10,8 +10,8 @@ import (
"testing"
"time"
"github.com/funcy/functions_go/client/call"
"github.com/funcy/functions_go/client/operations"
"github.com/fnproject/fn_go/client/call"
"github.com/fnproject/fn_go/client/operations"
)
type ErrMsg struct {
@@ -165,8 +165,8 @@ func TestRouteExecutions(t *testing.T) {
callResponse, err := s.Client.Call.GetAppsAppCallsCall(cfg)
if err != nil {
switch err.(type) {
case *call.GetCallsCallNotFound:
msg := err.(*call.GetCallsCallNotFound).Payload.Error.Message
case *call.GetAppsAppCallsCallNotFound:
msg := err.(*call.GetAppsAppCallsCallNotFound).Payload.Error.Message
t.Errorf("Unexpected error occurred: %v.", msg)
}
}