fixed: check the cluster has initialized
Previously, always check whether the cluster has been initialized, but the updateClusterCondition function always removes the old condition and then adds the new condition, resulting in always returning after updating the initialized condition.
This commit check the cluster has initialized, if initialized will not updated condition
Signed-off-by: Nlinruichao <linruichao@ruijie.com.cn>
Showing
想要评论请 注册 或 登录