We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0fb828e + 37c348e commit bec47a0Copy full SHA for bec47a0
1 file changed
cmd/cmd.go
@@ -8,6 +8,7 @@ import (
8
"path/filepath"
9
"regexp"
10
"strconv"
11
+ "strings"
12
13
"github.com/deis/deisctl/client"
14
"github.com/deis/deisctl/config"
@@ -152,6 +153,13 @@ func Install(c client.Client, targets []string) error {
152
153
return InstallPlatform(c)
154
}
155
// otherwise create the specific targets
156
+ for i, target := range targets {
157
+ // if we're installing a component without a number attached,
158
+ // consider the user doesn't know better
159
+ if !strings.Contains(target, "@") {
160
+ targets[i] += "@1"
161
+ }
162
163
return c.Create(targets)
164
165
0 commit comments