Commit b4d9d4db authored by Shinya Maeda's avatar Shinya Maeda

Fix bad naming

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