Skip to content

Commit

Permalink
Minor cleanup according to the review
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Dec 4, 2023
1 parent b658b47 commit 62a87bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/lib/agama/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def valid?
#
# @return [String] path to created archive
def collect_logs(path: nil)
opt = "-d #{path}" if !path.nil? && !path.empty?
opt = "-d #{path}" unless path.nil? || path.empty?

`agama logs store #{opt}`.strip
end
Expand Down

0 comments on commit 62a87bc

Please sign in to comment.