On Fri, Nov 06, 2020 at 11:29:55AM +0800, Luan Shengde wrote:
check required my info when assigning account
[why] my info is required when assigning the account and config the default yaml file
[how] add check for my info before assign account my info: - my_email - my_name - my_uuid
Signed-off-by: Luan Shengde shdluan@163.com
container/assign-account/assign-account.rb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/container/assign-account/assign-account.rb b/container/assign-account/assign-account.rb index e356c18..834f666 100755 --- a/container/assign-account/assign-account.rb +++ b/container/assign-account/assign-account.rb @@ -7,7 +7,7 @@ require 'sinatra' require 'open3' require 'json' require 'yaml' -require_relative 'get_account_info.rb' +require_relative 'get_account_info'
Is it suggested to do so? I've seen both two kinds of format in our project.
Thanks, Xijian