From 728f2d0f810ee3ceafb322f1523acfcd792bf378 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 10 Feb 2021 16:42:36 -0800 Subject: [PATCH] weldr: Remove underscores from FreezeHandler error Error message strings are not guaranteed to be stable, but should be consistent when used in more than one place. --- internal/weldr/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/weldr/api.go b/internal/weldr/api.go index 48f89635d..9bcbf18e0 100644 --- a/internal/weldr/api.go +++ b/internal/weldr/api.go @@ -1314,7 +1314,7 @@ func (api *API) blueprintsFreezeHandler(writer http.ResponseWriter, request *htt if bp == nil { rerr := responseError{ ID: "UnknownBlueprint", - Msg: fmt.Sprintf("%s: blueprint_not_found", name), + Msg: fmt.Sprintf("%s: blueprint not found", name), } errors = append(errors, rerr) break