File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ var ClusterDeleted = &StateTransition{
3434}
3535
3636var ClusterCreated = & StateTransition {
37- StartState : pointer .Get (clusterCreating ),
38- EndState : pointer .Get (clusterIdle ),
37+ StartState : pointer .Get (clusterCreating ),
38+ EndState : pointer .Get (clusterIdle ),
39+ RetryableStates : []string {clusterUpdating },
3940}
4041
4142type AtlasClusterStateDescriber struct {
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ func (err *InvalidStateError) Error() string {
4949 }
5050
5151 if err .State != nil {
52- expected = fmt .Sprintf (expectedTemplate , * err .State )
52+ expected = fmt .Sprintf (expectedTemplate , * err .ExpectedState )
5353 } else {
54- expected = fmt .Sprintf (expectedErrorCode , * err .ErrorCode )
54+ expected = fmt .Sprintf (expectedErrorCode , * err .ExpectedErrorCode )
5555 }
5656
5757 return fmt .Sprintf ("%s %s" , got , expected )
You can’t perform that action at this time.
0 commit comments