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{
34
34
}
35
35
36
36
var 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 },
39
40
}
40
41
41
42
type AtlasClusterStateDescriber struct {
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ func (err *InvalidStateError) Error() string {
49
49
}
50
50
51
51
if err .State != nil {
52
- expected = fmt .Sprintf (expectedTemplate , * err .State )
52
+ expected = fmt .Sprintf (expectedTemplate , * err .ExpectedState )
53
53
} else {
54
- expected = fmt .Sprintf (expectedErrorCode , * err .ErrorCode )
54
+ expected = fmt .Sprintf (expectedErrorCode , * err .ExpectedErrorCode )
55
55
}
56
56
57
57
return fmt .Sprintf ("%s %s" , got , expected )
You can’t perform that action at this time.
0 commit comments