Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
fix: Make update work with --targets all
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Apr 24, 2018
1 parent bfd9d7a commit e9f1ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/root/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func (c clusterImpl) tags() map[string]string {
func (c clusterImpl) Update(targets OperationTargets) (string, error) {
cfSvc := cloudformation.New(c.session)

assets, err := c.generateAssets(targets)
assets, err := c.generateAssets(c.operationTargetsFromUserInput([]OperationTargets{targets}))
if err != nil {
return "", err
}
Expand Down Expand Up @@ -531,7 +531,7 @@ func (c clusterImpl) ValidateStack(opts ...OperationTargets) (string, error) {

targets := c.operationTargetsFromUserInput(opts)

assets, err := c.generateAssets(targets)
assets, err := c.generateAssets(c.operationTargetsFromUserInput([]OperationTargets{targets}))
if err != nil {
return "", err
}
Expand Down

0 comments on commit e9f1ed5

Please sign in to comment.