Move Function and HTTPTrigger types to top level 'fission' package
This commit is contained in:
@@ -19,11 +19,13 @@ package router
|
||||
import (
|
||||
"net/url"
|
||||
"testing"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
)
|
||||
|
||||
func TestFunctionServiceMap(t *testing.T) {
|
||||
m := makeFunctionServiceMap()
|
||||
fn := &Function{Name: "foo", Uid: "012"}
|
||||
fn := &fission.Function{Name: "foo", Uid: "012"}
|
||||
u, err := url.Parse("/foo012")
|
||||
if err != nil {
|
||||
t.Errorf("can't parse url")
|
||||
|
||||
Reference in New Issue
Block a user