Skip to content

Commit

Permalink
chore: typing fixes - PodsManager.stats
Browse files Browse the repository at this point in the history
Signed-off-by: Bharath Vignesh J K <[email protected]>
  • Loading branch information
RazCrimson committed May 25, 2023
1 parent a416660 commit 3d3156f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podman/domain/pods_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def remove(self, pod_id: Union[Pod, str], force: Optional[bool] = None) -> None:
response = self.client.delete(f"/pods/{pod_id}", params={"force": force})
response.raise_for_status()

def stats(self, **kwargs) -> Union[Dict[str, Any], Iterator[Dict[str, Any]]]:
def stats(self, **kwargs) -> Union[List[Dict[str, Any]], Iterator[List[Dict[str, Any]]]]:
"""Resource usage statistics for the containers in pods.
Keyword Args:
Expand Down

0 comments on commit 3d3156f

Please sign in to comment.