1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-01-29 18:53:51 +02:00

fix port typing issue introduced in 998e805

This commit is contained in:
Simon Aronsson 2019-07-02 11:30:56 +02:00
parent 37069d51df
commit 061e958534

View File

@ -118,10 +118,10 @@ func RegisterNotificationFlags(rootCmd *cobra.Command) {
viper.GetString("WATCHTOWER_NOTIFICATION_EMAIL_SERVER"),
"SMTP server to send notification emails through")
flags.StringP(
flags.IntP(
"notification-email-server-port",
"",
viper.GetString("WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT"),
viper.GetInt("WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT"),
"SMTP server port to send notification emails through")
flags.BoolP(