From d7ef15168347328ea2719d5efe0c9264fad9877e Mon Sep 17 00:00:00 2001 From: Kimmo Lehto Date: Mon, 9 Oct 2023 10:53:13 +0300 Subject: [PATCH] Fix "emmpty" typo in config validate Signed-off-by: Kimmo Lehto --- cmd/config/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config/validate.go b/cmd/config/validate.go index bf1a104c52d9..0ffe9d8fc3ee 100644 --- a/cmd/config/validate.go +++ b/cmd/config/validate.go @@ -42,7 +42,7 @@ func NewValidateCmd() *cobra.Command { case "-": reader = cmd.InOrStdin() case "": - return errors.New("--config can't be emmpty") + return errors.New("--config can't be empty") default: f, err := os.Open(config.CfgFile) if err != nil {