mirror of
https://github.com/home-assistant/core.git
synced 2026-08-14 09:13:06 +01:00
7 lines
217 B
Python
7 lines
217 B
Python
"""Utility functions for the Portainer integration."""
|
|
|
|
|
|
def sanitize_container_name(container_name: str) -> str:
|
|
"""Sanitize to get a proper container name."""
|
|
return container_name.replace("/", " ").strip()
|