From ab1fcc8bafe02196354f7660a037bcedc881d831 Mon Sep 17 00:00:00 2001 From: Sean T Allen Date: Wed, 11 Aug 2021 10:59:09 -0400 Subject: [PATCH] Fix incorrect casing in error message I have a habit of capitalizing the first letter of error messages. We missed this one as part of the review for my PR that added the security policy functionality. --- internal/guest/runtime/hcsv2/uvm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/guest/runtime/hcsv2/uvm.go b/internal/guest/runtime/hcsv2/uvm.go index 6138259e2a..1fd5981c27 100644 --- a/internal/guest/runtime/hcsv2/uvm.go +++ b/internal/guest/runtime/hcsv2/uvm.go @@ -86,7 +86,7 @@ func (h *Host) SetSecurityPolicy(base64_policy string) error { // we want to store a complex json object so.... base64 it is jsonPolicy, err := base64.StdEncoding.DecodeString(base64_policy) if err != nil { - return errors.Wrap(err, "Unable to decode policy from Base64 format") + return errors.Wrap(err, "unable to decode policy from Base64 format") } // json unmarshall the decoded to a SecurityPolicy