Skip to content

Commit

Permalink
fix(deploy): fix release-history-max param default value help message
Browse files Browse the repository at this point in the history
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Sep 1, 2022
1 parent 8c1be81 commit ff8d11a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/werf/common/common.go
Expand Up @@ -333,6 +333,8 @@ func SetupReleasesHistoryMax(cmdData *CmdData, cmd *cobra.Command) {
var defaultValue int
if defaultValueP != nil {
defaultValue = int(*defaultValueP)
} else {
defaultValue = 10
}

cmd.Flags().IntVarP(
Expand Down

0 comments on commit ff8d11a

Please sign in to comment.