Skip to content

Commit

Permalink
NET-515 small typo fix for error strings should not be capitalized
Browse files Browse the repository at this point in the history
  • Loading branch information
uGiFarukh committed Aug 7, 2023
1 parent aec639e commit 16d3a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func createNetwork(w http.ResponseWriter, r *http.Request) {
}

if len(network.NetID) > 32 {
err := errors.New("Network name shouldn't exceed 32 characters")
err := errors.New("network name shouldn't exceed 32 characters")
logger.Log(0, r.Header.Get("user"), "failed to create network: ",
err.Error())
logic.ReturnErrorResponse(w, r, logic.FormatError(err, "badrequest"))
Expand Down

0 comments on commit 16d3a7a

Please sign in to comment.