fix: lint warnings

This commit is contained in:
braginini 2021-07-17 15:46:25 +02:00
parent d4a9f4d38a
commit 84f4d51c6c

View File

@ -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")
}