Skip to content

Commit

Permalink
Update cli/internal/cmd/upgradeapply.go
Browse files Browse the repository at this point in the history
Co-authored-by: 3u13r <[email protected]>
  • Loading branch information
elchead and 3u13r authored Sep 25, 2023
1 parent 3df9a66 commit 8503b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/internal/cmd/upgradeapply.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func (u *upgradeApplyCmd) migrateTerraform(cmd *cobra.Command, conf *config.Conf
return infraState, fmt.Errorf("getting Terraform output: %w", err)
}
state := state.NewState(infraState)
// TODO(elchead):
// TODO(elchead): AB#3424 move this to updateClusterIDFile and correctly handle existing state when writing state
if err := u.fileHandler.WriteYAML(constants.StateFilename, state, file.OptOverwrite); err != nil {
return infraState, fmt.Errorf("writing state file: %w", err)
}
Expand Down

0 comments on commit 8503b7d

Please sign in to comment.