Commit dc7ed276 authored by Sebastien Badia's avatar Sebastien Badia
Browse files

[admin] test (reject fast-forward talc)

parent 20cb1031
require 'fileutils'
require 'json'
require 'logger'
......@@ -97,7 +98,7 @@ namespace :deadnodes do
phoenix = []
@api_sites.each do |site|
reg = /^([^-]+)-(\d+)/
a_cluster,a_id = a[0].scan(reg).flatten
b_cluster,b_id = b[0].scan(reg).flatten
[a_cluster,a_id.to_i] <=> [b_cluster,b_id.to_i]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment