Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl committed Jan 7, 2025
1 parent a3373e1 commit 7842d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanners/generic/tools/oobtkube.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def find_leaf_keys_and_test(data: Dict, ipaddr: str, port: int) -> int:
Test cases: appending 'curl' command, TBD
"""

def get_leaf_keys(obj: Union[Dict, List], path: Optional[List] = None) -> Generator[List[str]]:
def get_leaf_keys(obj: Union[Dict, List], path: Optional[List] = None) -> Generator[List[str], None, None]:
"""Collect all possible leaves in the k8s object"""
if isinstance(obj, dict):
items = obj.items()
Expand Down

0 comments on commit 7842d9b

Please sign in to comment.