Generate event for condition change and support unknown status.

This commit is contained in:
Lantao Liu
2018-06-21 15:29:53 -07:00
parent 8f286a4415
commit ee103dd4ac
8 changed files with 100 additions and 19 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func newTestManager() (*conditionManager, *problemclient.FakeProblemClient, *clo
func newTestCondition(condition string) types.Condition {
return types.Condition{
Type: condition,
Status: true,
Status: types.True,
Transition: time.Now(),
Reason: "TestReason",
Message: "test message",