Skip to content

Commit

Permalink
fix(linter): fix minor linter inssue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Mar 29, 2023
1 parent be2fe5f commit 1ab34b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/openapi2kong.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 1ab34b0

Please sign in to comment.