Skip to content

Commit 36d2566

Browse files
[patch] fix typo and argument
1 parent bfcd291 commit 36d2566

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mas/devops/tekton.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,8 @@ def prepareInstallRBAC(dynClient: DynamicClient, namespace: str, instanceId: str
894894
if resourceBody is None:
895895
continue
896896

897-
apiVersion = resourceBody.get["apiVersion"]
898-
kind = resourceBody.get["kind"]
897+
apiVersion = resourceBody.get("apiVersion")
898+
kind = resourceBody.get("kind")
899899
metadata = resourceBody.get("metadata", {})
900900
name = metadata.get("name", "<unnamed>")
901901
namespace = metadata.get("namespace")

0 commit comments

Comments
 (0)