mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-23 22:26:27 +00:00
Generate event for condition change and support unknown status.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user