Skip to content

Commit

Permalink
Set State to InstanceCreating for nodes that failed to join cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
vbhargav875 committed Jun 26, 2024
1 parent 47486ed commit a86c846
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ func (m *ociManagerImpl) GetNodePoolNodes(np NodePool) ([]cloudprovider.Instance
instances = append(instances, cloudprovider.Instance{
Id: *node.Id,
Status: &cloudprovider.InstanceStatus{
State: cloudprovider.InstanceCreating,
ErrorInfo: &cloudprovider.InstanceErrorInfo{
ErrorClass: errorClass,
ErrorCode: *node.NodeError.Code,
Expand Down

0 comments on commit a86c846

Please sign in to comment.