- def check_account_es
- my_account_info_str = %x(curl -XGET #{@es_host}:#{@es_port}/accounts/_doc/#{@my_info['my_email']})
Use the es client may be better and maintainable.
OK, I will optimizi it
Thanks, Luan Shengde
Thanks, Xueliang
YAML.safe_load my_account_info_str end
def store_account_info
-- 2.23.0