Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory-Z committed Apr 28, 2020
1 parent c9ef5f0 commit a8b4940
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/emqx_mgmt_cli.erl
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ data(["export", Directory]) ->
Blacklist = emqx_mgmt:export_blacklist(),
Apps = emqx_mgmt:export_applications(),
Users = emqx_mgmt:export_users(),
AuthClientID = export_auth_clientid(),
AuthUsername = export_auth_username(),
AuthClientID = emqx_mgmt:export_auth_clientid(),
AuthUsername = emqx_mgmt:export_auth_username(),
AuthMnesia = emqx_mgmt:export_auth_mnesia(),
AclMnesia = emqx_mgmt:export_acl_mnesia(),
Schemas = emqx_mgmt:export_schemas(),
Expand Down Expand Up @@ -603,6 +603,8 @@ data(["import", Filename]) ->
emqx_mgmt:import_blacklist(maps:get(<<"blacklist">>, Data)),
emqx_mgmt:import_applications(maps:get(<<"apps">>, Data)),
emqx_mgmt:import_users(maps:get(<<"users">>, Data)),
emqx_mgmt:import_auth_clientid(maps:get(<<"auth_clientid">>, Data)),
emqx_mgmt:import_auth_username(maps:get(<<"auth_username">>, Data)),
emqx_mgmt:import_auth_mnesia(maps:get(<<"auth_mnesia">>, Data)),
emqx_mgmt:import_acl_mnesia(maps:get(<<"acl_mnesia">>, Data)),
emqx_mgmt:import_schemas(maps:get(<<"schemas">>, Data)),
Expand Down

0 comments on commit a8b4940

Please sign in to comment.