-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cos]Fixed issue by adding valid plugin class and change CosLogs as a hierarchy of Independent logs #3287
base: main
Are you sure you want to change the base?
[cos]Fixed issue by adding valid plugin class and change CosLogs as a hierarchy of Independent logs #3287
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,7 +118,7 @@ class IndependentLogs(LogsBase, IndependentPlugin): | |
profiles = ('system', 'hardware', 'storage') | ||
|
||
|
||
class CosLogs(LogsBase, CosPlugin): | ||
class CosLogs(IndependentLogs, CosPlugin): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this mean that you don't want to be collecting all the logs defined in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will make it so that The change to |
||
option_list = [ | ||
PluginOpt(name="log_days", default=3, | ||
desc="the number of days logs to collect") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious, the
valid_subclasses
already hasCosPlugin
already at line 36There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 36 needs to be removed, as it gets overwritten by the
super()
in__init__()
from the basePolicy
class.