Define main resource types
Functions, HTTPTriggers, Metadata, Environment. Update the router to use fission.Metadata, not fission.Function, to identify functions.
This commit is contained in:
@@ -49,7 +49,7 @@ func TestFunctionProxying(t *testing.T) {
|
||||
backendURL := createBackendService(testResponseString)
|
||||
log.Printf("Created backend svc at %v", backendURL)
|
||||
|
||||
fn := &fission.Function{Name: "foo", Uid: "xxx"}
|
||||
fn := &fission.Metadata{Name: "foo", Uid: "xxx"}
|
||||
fmap := makeFunctionServiceMap()
|
||||
fmap.assign(fn, backendURL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user