Commit b4d9d4db authored by Shinya Maeda's avatar Shinya Maeda

Fix bad naming

parent 1a7d9346
......@@ -51,13 +51,13 @@ module Projects
super
end
def error(message, delete_artifact = true)
def error(message, allow_delete_artifact = true)
register_failure
log_error("Projects::UpdatePagesService: #{message}")
@status.allow_failure = !latest?
@status.description = message
@status.drop(:script_failure)
delete_artifact! if delete_artifact
delete_artifact! if allow_delete_artifact
super
end
......
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