Skip to content

Commit

Permalink
Dont hint user to update component when user specify version (#640)
Browse files Browse the repository at this point in the history
Signed-off-by: Lonng <[email protected]>
  • Loading branch information
lonng authored Jul 29, 2020
1 parent ebd7633 commit 67fca66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exec/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func PrepareCommand(
return nil, err
}

if len(checkUpdate) > 0 && checkUpdate[0] {
if version.IsEmpty() && len(checkUpdate) > 0 && checkUpdate[0] {
latestV, _, err := env.V1Repository().LatestStableVersion(component)
if err != nil {
return nil, err
Expand Down

0 comments on commit 67fca66

Please sign in to comment.