Fix static anylysy
This commit is contained in:
parent
b8a275d3e4
commit
acfb8464be
|
@ -85,9 +85,10 @@ class MigrateKubernetesServiceToNewClustersArchitectures < ActiveRecord::Migrati
|
|||
unique_iid = 0
|
||||
|
||||
# If it's still conflicted, finding an unique environment scope incrementaly
|
||||
while true
|
||||
loop do
|
||||
candidate = "migrated#{unique_iid}/*"
|
||||
return candidate if environment_scopes.exclude?(candidate)
|
||||
|
||||
unique_iid += 1
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue