Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Remove verifyInstanceTypes check as this is duplicates PR559
Browse files Browse the repository at this point in the history
Signed-off-by: Aled James <aledjms@gmail.com>
  • Loading branch information
alljames committed Oct 23, 2018
1 parent 84e6351 commit 52bb2cb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkg/tarmak/provider/amazon/amazon.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,8 @@ func (a *Amazon) Verify() error {
result = multierror.Append(result, err)
}

// if no cluster exists (i.e. tarmak init has not yet been run), skip this verification check
if a.tarmak.Cluster() != nil {
if err := a.verifyInstanceTypes(); err != nil {
result = multierror.Append(result, err)
}
if err := a.verifyInstanceTypes(); err != nil {
result = multierror.Append(result, err)
}

return result.ErrorOrNil()
Expand Down

0 comments on commit 52bb2cb

Please sign in to comment.