Skip to content

Commit a2d172d

Browse files
committed
k8s: update type in create_kubernetes_object
1 parent e54ed80 commit a2d172d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/k8s.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def get_edges() -> any:
105105

106106

107107
def create_kubernetes_object(
108-
kind: str, metadata: dict[str, any], spec: dict[str, any] = None
108+
kind: str, metadata: dict[str, any], spec: Optional[dict[str, any]] = None
109109
) -> dict[str, any]:
110110
metadata["namespace"] = get_default_namespace()
111111
obj = {

0 commit comments

Comments
 (0)