redis-mmm 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/redis_mmm +2 -3
  2. metadata +3 -3
data/bin/redis_mmm CHANGED
@@ -149,7 +149,6 @@ class RedisMMM < Thor
149
149
  puts "Configured hosts"
150
150
  hosts.each do |host|
151
151
  puts "#{host}: #{host.online? ? "ONLINE" : "OFFLINE"} / #{host.master? ? "master" : "slave"}"
152
- puts hosts.inspect
153
152
  end
154
153
  end
155
154
 
@@ -322,8 +321,8 @@ class RedisMMM < Thor
322
321
  @config ||= ParseConfig.new(options.config)
323
322
  end
324
323
 
325
- def master_ip; config.params[:master_ip]; end
326
- def cluster_interface; config.params[:cluster_interface]; end
324
+ def master_ip; config.params["master_ip"]; end
325
+ def cluster_interface; config.params["cluster_interface"]; end
327
326
 
328
327
 
329
328
  # returns the hostname of the redis host which currently is master
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-mmm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Siebert