minor: fix for version_string in ReplSetManager
This commit is contained in:
parent
4317c9d1b0
commit
4a92a1e498
|
@ -39,7 +39,7 @@ class ReplSetManager
|
|||
end
|
||||
|
||||
@mongods = {}
|
||||
version_string = `mongod --version`
|
||||
version_string = `#{@mongod} --version`
|
||||
version_string =~ /(\d\.\d\.\d)/
|
||||
@version = $1.split(".").map {|d| d.to_i }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue