From ca1ffbcda179eded75c6b7b15ffe4a01bccb7b3a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 14 Oct 2025 10:46:15 -0500 Subject: better names --- defaultBehavior.go | 2 +- doPatch.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaultBehavior.go b/defaultBehavior.go index 360c11d..17c43b4 100644 --- a/defaultBehavior.go +++ b/defaultBehavior.go @@ -57,7 +57,7 @@ func defaultBehaviorMaster() error { for repo := range found.IterAll() { if repo.CheckDirty() { if repo.GetCurrentBranchName() != repo.GetUserBranchName() { - repo.State = "DIRTY BAD" + repo.State = "NOT USER" reallybad = true } // return log.Errorf("%s repo is dirty", repo.FullPath) diff --git a/doPatch.go b/doPatch.go index 040d5be..3aa07e7 100644 --- a/doPatch.go +++ b/doPatch.go @@ -120,8 +120,8 @@ func doPatchProcess() (string, error) { // log.Info("a patch with that comment couldn't be found in the repo") } else if err != nil { // log.Info(patch.PatchId, newId, repo.Namespace, err, patch.Comment) - patch.State = "BAD applied err" - patch.StateChange = "BAD applied err" + patch.State = "applied err" + patch.StateChange = log.Sprintf("%v", err) // return "isPatchIdApplied() error", patch.Error(err) } if newId == "" { -- cgit v1.2.3