Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
47da7657
Commit
47da7657
authored
Mar 21, 2013
by
antirez
Browse files
redis-trib: fix conditional otherwise always true.
parent
a89d435d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
47da7657
...
@@ -299,7 +299,7 @@ class RedisTrib
...
@@ -299,7 +299,7 @@ class RedisTrib
end
end
}
}
open_slots
.
uniq!
open_slots
.
uniq!
if
open_slots
.
length
if
open_slots
.
length
>
0
puts
"[WARNING] The following slots are open:
#{
open_slots
.
join
(
","
)
}
"
puts
"[WARNING] The following slots are open:
#{
open_slots
.
join
(
","
)
}
"
end
end
if
@fix
if
@fix
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment