On Wed, Mar 10, 2021 at 02:36:42PM +0800, Luan Shengde wrote:
--- a/stats/openeuler_docker +++ b/stats/openeuler_docker @@ -9,9 +9,15 @@ while (line = STDIN.gets) # Error: Unable to find a match: docker-registry when /Error: Unable to find a match: (.+)/ $1.split.each do |repo|
case the $1 is in a format as: docker-registry line: $1.split.each do |repo| is useless, use: repo_set << $1
the error message may contains multiple repo messages. Like this Error: Unable to find a match: docker-registry mock xx
Thanks, Baijing
repo_set << repo
repo_set << repo
it seems that the two line above are the same.
Thanks, Luan Shengde
end
- # Error: Unknown repo: 'powertools'
- when /Error: Unknown repo: (.+)/
- repo = $1.delete!("'")
- puts "unknown-repo.#{repo}: 1"
- puts "unknown-repo.#{repo}.message: #{line}"
- # /bin/sh: passwd: command not found when //bin/sh: (.+): command not found/ puts "sh.command-not-found.#{$1}: 1"
-- 2.23.0