Skip to content
Snippets Groups Projects
Commit bca7e6d1 authored by DJ Mountney's avatar DJ Mountney
Browse files

Fix rubocop failure

parent 04222791
No related branches found
No related tags found
1 merge request!120Omnibus-repo release openshift template
Loading
Loading
@@ -148,7 +148,7 @@ module Release
 
repository.ensure_branch_exists(branch)
openshift_filename = 'docker/openshift-template.json'
openshift_version = version_class.new(version_from_container_template(openshift_filename).gsub('-', '+'))
openshift_version = version_class.new(version_from_container_template(openshift_filename).tr('-', '+'))
unless openshift_version.valid?
raise VersionStringNotFoundError.new("#{openshift_version} in #{openshift_filename}")
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment