From 1ab34b0874470a9bbde25086993303c499fb59df Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Wed, 29 Mar 2023 11:59:08 +0200 Subject: [PATCH] fix(linter): fix minor linter inssue --- cmd/openapi2kong.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/openapi2kong.go b/cmd/openapi2kong.go index cc87d4c..ada7ad2 100644 --- a/cmd/openapi2kong.go +++ b/cmd/openapi2kong.go @@ -13,8 +13,8 @@ import ( ) // Executes the CLI command "openapi2kong" -func execute(cmd *cobra.Command, args []string) { - inputFilename, err := cmd.Flags().GetString("spec") +func execute(cmd *cobra.Command, _ []string) { + inputFilename, err := cmd.Flags().GetString("state") if err != nil { log.Fatalf(fmt.Sprintf("failed getting cli argument 'spec'; %%w"), err) }