delete my-info like my_uuid,my_email,my_name
Signed-off-by: Wei Jihui weijihuiall@163.com --- spec/submit_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spec/submit_spec.rb b/spec/submit_spec.rb index 8310d629..77b64a7a 100644 --- a/spec/submit_spec.rb +++ b/spec/submit_spec.rb @@ -3,7 +3,7 @@ require "#{LKP_SRC}/lib/yaml"
def stable_yaml_file(yaml_file) job = load_yaml(yaml_file) - delete_job_key = %w(LKP_DEBUG_PREFIX lkp_initrd_user job_origin) + delete_job_key = %w(LKP_DEBUG_PREFIX lkp_initrd_user job_origin my_uuid my_email my_name) job.delete_if do |key, _| delete_job_key.include?(key) || key.to_s.start_with?('#! ') ||
On Tue, Dec 08, 2020 at 09:35:34AM +0800, Wei Jihui wrote:
delete my-info like my_uuid,my_email,my_name
space after ","
Thanks, Xijian
Signed-off-by: Wei Jihui weijihuiall@163.com
spec/submit_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spec/submit_spec.rb b/spec/submit_spec.rb index 8310d629..77b64a7a 100644 --- a/spec/submit_spec.rb +++ b/spec/submit_spec.rb @@ -3,7 +3,7 @@ require "#{LKP_SRC}/lib/yaml"
def stable_yaml_file(yaml_file) job = load_yaml(yaml_file)
- delete_job_key = %w(LKP_DEBUG_PREFIX lkp_initrd_user job_origin)
- delete_job_key = %w(LKP_DEBUG_PREFIX lkp_initrd_user job_origin my_uuid my_email my_name) job.delete_if do |key, _| delete_job_key.include?(key) || key.to_s.start_with?('#! ') ||
-- 2.23.0