Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkg/deployment/rotation/arangod_containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ func containersCompare(_ api.DeploymentSpec, _ api.ServerGroup, spec, status *co
return func(builder api.ActionBuilder) (mode Mode, plan api.Plan, err error) {
a, b := spec.Containers, status.Containers

if len(a) == 0 || len(b) == 0 {
if len(a) == 0 || len(a) != len(b) {
// If the number of the containers is different or is zero then skip rotation.
return SkippedRotation, nil, nil
}

Expand Down