Conforms to our shortcut for imagestreamtag (https://github.com/openshift/origin/blob/4ab3ac0715f557f9504786daaeaf45bffb64fe6c/pkg/cmd/util/clientcmd/factory.go#L250)
kargakis authored on 2015/08/27 18:49:03... | ... |
@@ -185,7 +185,7 @@ func buildChainInput(input string) (string, string, error) { |
185 | 185 |
case 1: |
186 | 186 |
case 2: |
187 | 187 |
resourceType := resource[0] |
188 |
- if resourceType != "ist" && resourceType != "imagestreamtag" { |
|
188 |
+ if resourceType != "istag" && resourceType != "imagestreamtag" { |
|
189 | 189 |
return "", "", fmt.Errorf("invalid resource type %q", resourceType) |
190 | 190 |
} |
191 | 191 |
default: |