Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feat: added more reasons and what level they are
Browse files Browse the repository at this point in the history
  • Loading branch information
chesleybrown committed Nov 9, 2016
1 parent 4689edc commit 68f99b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions watcher/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,20 @@ func (w *Watcher) getLevel(e api.Event) string {
"Scheduled": "INFO",
"NodeNotReady": "WARN",
"MAPPING": "WARN",
"UPDATE": "INFO",
"DELETE": "INFO",
"NodeOutOfDisk": "ERROR",
"BackOff": "ERROR",
"ImagePullBackOff": "ERROR",
"FailedSync": "ERROR",
"FreeDiskSpaceFailed": "WARN",
"MissingClusterDNS": "ERROR",
"RegisteredNode": "INFO",
"TerminatingEvictedPod": "WARN",
"RemovingNode": "WARN",
"TerminatedAllPods": "WARN",
"CreatedLoadBalancer": "INFO",
"CreatingLoadBalancer": "INFO",
"NodeHasSufficientDisk": "INFO",
"NodeHasSufficientMemory": "INFO",
"NodeNotSchedulable": "ERROR",
Expand Down

0 comments on commit 68f99b6

Please sign in to comment.