Skip to content

Commit

Permalink
fix: lint warning
Browse files Browse the repository at this point in the history
error strings should not be capitalized (ST1005)
  • Loading branch information
urish committed Oct 6, 2022
1 parent b67958f commit ac19191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/wokwigw/wokwigw.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func run(cmd *cobra.Command, _ []string) error {

vn, err := virtualnetwork.New(&config)
if err != nil {
return fmt.Errorf("Error creating network %w", err)
return fmt.Errorf("error creating network %w", err)
}

err = http.ListenAndServe(net.JoinHostPort(defaultListenAddr, strconv.Itoa(flags.listenPort)), http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit ac19191

Please sign in to comment.