Skip to content

Commit

Permalink
Remove the extra env var for systemd configuration
Browse files Browse the repository at this point in the history
We already have a per-worker setting to disable systemd so an extra
environment variable isn't necessary.
  • Loading branch information
agrare committed Jul 7, 2020
1 parent 85f5177 commit d9b4983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def containerized_worker?
end

def self.systemd_worker?
ENV['MIQ_SYSTEMD_WORKERS'] && MiqEnvironment::Command.supports_systemd? && supports_systemd?
MiqEnvironment::Command.supports_systemd? && supports_systemd?
end

def systemd_worker?
Expand Down

0 comments on commit d9b4983

Please sign in to comment.