j
k
j a
j l
+ cluster_state.each_value do |role_state| ...+ if %(#{role_state["roles"]}) == role + return role_state end We can use write into 1 line: return role_state if %(#{role_state["roles"]}) == role
+ cluster_state.each_value do |role_state|
+ if %(#{role_state["roles"]}) == role + return role_state end
We can use write into 1 line: return role_state if %(#{role_state["roles"]}) == role
Got it. Thanks, RenWen
Thanks, Xijian ...end end -- 2.23.0
Thanks, Xijian
end end -- 2.23.0
Back to the thread
Back to the list