diff options
| -rw-r--r-- | defaultBehavior.go | 2 | ||||
| -rw-r--r-- | 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) @@ -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 == "" { |
