Skip to content

Commit

Permalink
Merge pull request #90 from bastelfreak/bugfi
Browse files Browse the repository at this point in the history
maybe fix nil:NilClass erorr
  • Loading branch information
Robert Müller authored Oct 5, 2019
2 parents 8a2a8b0 + 8a09488 commit 3a94a81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/workers/repo_status_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def perform
versions[repo] = msync['modulesync_config_version']
end

data = validate_metadatas(data, metadatas)

# we have a list of CentOS and RedHat in this array, we need to clean it up
data.supports_eol_centos.sort!.uniq!
data.doesnt_support_latest_centos.sort!.uniq!
Expand All @@ -188,7 +190,6 @@ def perform
end
end

data = validate_metadatas(data, metadatas)
save_data_to_redis(data)
end
end

0 comments on commit 3a94a81

Please sign in to comment.