Namespace is not needed

We should be able to parse out the Path from the URL and use that as the
namespace.
This commit is contained in:
Stephen McQuay 2018-03-02 23:23:28 -08:00
parent eef69d299a
commit 2dbe1ca006
Signed by untrusted user: sm
GPG Key ID: 4E4B72F479BA3CE5
2 changed files with 0 additions and 12 deletions

View File

@ -10,7 +10,6 @@ type Meta struct {
Name Name `json:"name"`
Version Version `json:"version"`
Description string `json:"description"`
Namespace string `json:"namespace"`
Remote url.URL `json:"remote"`
}

View File

@ -23,16 +23,6 @@ func TestValid(t *testing.T) {
},
ok: true,
},
{
label: "valid with namespace",
m: Meta{
Name: "heat",
Version: "1.1.0",
Description: "some description",
Namespace: "some/namespace",
},
ok: true,
},
{
label: "missing name",
m: Meta{
@ -78,7 +68,6 @@ func TestJsonRoundTrip(t *testing.T) {
Name: "heat",
Version: "1.1.0",
Description: "make heat using cpus",
Namespace: "/darwin/amd64",
}
buf := &bytes.Buffer{}