Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def scan_resource_conf(self, conf: Dict[str, Any]) -> CheckResult:
if log_bucket_name != bucket_name:
return CheckResult.PASSED
return CheckResult.FAILED
return CheckResult.FAILED
return CheckResult.PASSED
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure in what other cases conf["logging"][0] would be empty. This appears to date back to the initial introduction of this resource way back in #878.

From the test plan, the "logging": [] gets translated to conf["logging"] = [[]], i.e., an array containing an empty array.

return CheckResult.UNKNOWN


Expand Down
Loading
Loading