Update Fargate provider to use the renamed NodeCondition type

This commit is contained in:
Onur Filiz
2018-04-25 02:09:49 -07:00
committed by Robbie Zhang
parent 7628b62bce
commit 40f94991c3

View File

@@ -284,7 +284,7 @@ func (p *FargateProvider) NodeConditions() []corev1.NodeCondition {
Message: lastTransitionMessage, Message: lastTransitionMessage,
}, },
{ {
Type: corev1.NodeConfigOK, Type: corev1.NodeKubeletConfigOk,
Status: corev1.ConditionTrue, Status: corev1.ConditionTrue,
LastHeartbeatTime: lastHeartbeatTime, LastHeartbeatTime: lastHeartbeatTime,
LastTransitionTime: lastTransitionTime, LastTransitionTime: lastTransitionTime,