Skip to content

Commit

Permalink
#59 blackで整形しlinterを導入できるようにする
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tanaka-v committed Jul 3, 2023
1 parent e4b4c1a commit a112144
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions osect_sensor/tools/sosreport/plugins/osect_probe_on_docker.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@

import os

from sos.report.plugins import Plugin, IndependentPlugin
from sos.report.plugins import IndependentPlugin, Plugin


class osect_probe_on_docker_logs(Plugin, IndependentPlugin):
def setup(self):
sos_logs_path = os.environ.get('SOS_LOGS_PATH', None)
sos_logs_path = os.environ.get("SOS_LOGS_PATH", None)
if sos_logs_path:
self.add_copy_spec([
'/var/log',
'%s/logs/ottools' % (sos_logs_path),
])

self.add_copy_spec(
[
"/var/log",
"%s/logs/ottools" % (sos_logs_path),
]
)

0 comments on commit a112144

Please sign in to comment.