diff --git a/cmd/management.go b/cmd/management.go index 14841bd17..04d7b4a88 100644 --- a/cmd/management.go +++ b/cmd/management.go @@ -111,6 +111,6 @@ func init() { mgmtCmd.Flags().StringVar(&mgmtDataDir, "datadir", "/data", "server data directory location") mgmtCmd.Flags().StringVar(&mgmtLetsencryptDomain, "letsencrypt-domain", "", "a domain to issue Let's Encrypt certificate for. Enables TLS using Let's Encrypt. Will fetch and renew certificate, and run the server with TLS") - mgmtCmd.MarkFlagRequired("port") - mgmtCmd.MarkFlagRequired("datadir") + _ = mgmtCmd.MarkFlagRequired("port") + _ = mgmtCmd.MarkFlagRequired("datadir") }