Fix kubectl create to create all resources in a url.

https://github.com/kubernetes/kubernetes/issues/18751 .
This commit is contained in:
Avesh Agarwal
2016-02-25 15:43:48 -05:00
parent 9c72e6e923
commit ad6dfa0370
4 changed files with 41 additions and 24 deletions

View File

@@ -126,9 +126,8 @@ func (b *Builder) FilenameParam(enforceNamespace bool, paths ...string) *Builder
func (b *Builder) URL(urls ...*url.URL) *Builder {
for _, u := range urls {
b.paths = append(b.paths, &URLVisitor{
Mapper: b.mapper,
URL: u,
Schema: b.schema,
URL: u,
StreamVisitor: NewStreamVisitor(nil, b.mapper, u.String(), b.schema),
})
}
return b