-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary Deployer::Response#set_finish_proc
Because we can just use Thread to call release tasks.
- Loading branch information
Showing
2 changed files
with
7 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# Copyright (C) 2010-2019 Sutou Kouhei <[email protected]> | ||
# Copyright (C) 2015 Kenji Okimoto <[email protected]> | ||
# Copyright (C) 2024 Horimoto Yasuhiro <[email protected]> | ||
# Copyright (C) 2024 Takuya Kodama <[email protected]> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
|
@@ -25,13 +23,5 @@ def set(status_keyword, message) | |
self["Content-Type"] = "text/plain" | ||
write(message) | ||
end | ||
|
||
def set_finish_proc(proc) | ||
@proc = proc | ||
end | ||
|
||
def finish | ||
super(&@proc) | ||
end | ||
end | ||
end |