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
77bba91b
Commit
77bba91b
authored
Mar 22, 2013
by
antirez
Browse files
redis-trib: fixed type has_flags? -> has_flag.
parent
4dded0c1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
77bba91b
...
...
@@ -603,7 +603,7 @@ class RedisTrib
sources
<<
n
}
break
elsif
!
src
||
src
.
has_flag
s
?
(
"slave"
)
elsif
!
src
||
src
.
has_flag?
(
"slave"
)
puts
"The specified node is not known or is not a master, please retry."
elsif
src
.
info
[
:name
]
==
target
.
info
[
:name
]
puts
"It is not possible to use the target node as source node."
...
...
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