Skip to content

Commit bf58f8b

Browse files
committed
Remove end of line whitespace from redis-trib
1 parent 1c477f6 commit bf58f8b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/redis-trib.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def friends
7272
@friends
7373
end
7474

75-
def slots
75+
def slots
7676
@info[:slots]
7777
end
7878

@@ -154,7 +154,7 @@ def load_info(o={})
154154
end
155155
} if slots
156156
@dirty = false
157-
@r.cluster("info").split("\n").each{|e|
157+
@r.cluster("info").split("\n").each{|e|
158158
k,v=e.split(":")
159159
k = k.to_sym
160160
v.chop!
@@ -213,7 +213,7 @@ def info_string
213213
#
214214
# Note: this could be easily written without side effects,
215215
# we use 'slots' just to split the computation into steps.
216-
216+
217217
# First step: we want an increasing array of integers
218218
# for instance: [1,2,3,4,5,8,9,20,21,22,23,24,25,30]
219219
slots = @info[:slots].keys.sort
@@ -273,7 +273,7 @@ def get_config_signature
273273
def info
274274
@info
275275
end
276-
276+
277277
def is_dirty?
278278
@dirty
279279
end
@@ -789,7 +789,7 @@ def show_reshard_table(table)
789789

790790
# Move slots between source and target nodes using MIGRATE.
791791
#
792-
# Options:
792+
# Options:
793793
# :verbose -- Print a dot for every moved key.
794794
# :fix -- We are moving in the context of a fix. Use REPLACE.
795795
# :cold -- Move keys without opening / reconfiguring the nodes.
@@ -1232,7 +1232,7 @@ def parse_options(cmd)
12321232

12331233
#################################################################################
12341234
# Libraries
1235-
#
1235+
#
12361236
# We try to don't depend on external libs since this is a critical part
12371237
# of Redis Cluster.
12381238
#################################################################################

0 commit comments

Comments
 (0)