Skip to content

Commit

Permalink
maybe fix nil:NilClass erorr
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Oct 5, 2019
1 parent 8a2a8b0 commit 8a09488
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 8a09488

Please sign in to comment.