Commit 3da767d8 authored by Robert Speicher's avatar Robert Speicher

artifact_metadata may not be defined

parent c4566a3f
......@@ -48,7 +48,7 @@ module Ci
if Feature.enabled?(:keep_latest_artifact_for_ref, job.project)
artifact.locked = true
artifact_metadata.locked = true
artifact_metadata&.locked = true
end
[artifact, artifact_metadata]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment