[why] submit -m would trigger mirror_result, even if i have not use the option "-r"
Signed-off-by: Li Ping 1477412247@qq.com --- lib/monitor.rb | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/lib/monitor.rb b/lib/monitor.rb index 24191fa8d..f6dcef7fd 100755 --- a/lib/monitor.rb +++ b/lib/monitor.rb @@ -96,6 +96,8 @@ class Monitor end
def mirror_result + return unless @action['mirror_result'] + @result_roots.each do |res| res.to_s.delete_prefix!('/srv') srv_http_host = job['SRV_HTTP_HOST'] || 'api.compass-ci.openeuler.org'