(
path: Optional[str] = None,
defaults: Optional[Dict[str, Any]] = None,
)
| 71 | |
| 72 | |
| 73 | def get_node_proxy_config( |
| 74 | path: Optional[str] = None, |
| 75 | defaults: Optional[Dict[str, Any]] = None, |
| 76 | ) -> Config: |
| 77 | effective_path = path or os.environ.get( |
| 78 | "NODE_PROXY_CONFIG", "/etc/ceph/node-proxy.yml" |
| 79 | ) |
| 80 | assert effective_path is not None |
| 81 | return Config(effective_path, defaults=defaults or DEFAULTS) |
no test coverage detected