Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Nov 21, 2023
1 parent be54488 commit b5b3176
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions acto/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def deploy_with_retry(self,
def operator_name(self) -> str:
with open(self._operator_yaml) as f:
operator_yamls = yaml.load_all(f, Loader=yaml.FullLoader)
for yaml in operator_yamls:
if yaml['kind'] == 'Deployment':
return yaml['metadata']['name']
for yaml_ in operator_yamls:
if yaml_['kind'] == 'Deployment':
return yaml_['metadata']['name']
return None
2 changes: 1 addition & 1 deletion data/fluent-operator/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app.kubernetes.io/name: fluent-bit
spec:
image: kubesphere/fluent-bit:v1.8.11
image: kubesphere/fluent-bit:v2.1.7
positionDB:
hostPath:
path: /var/lib/fluent-bit/
Expand Down

0 comments on commit b5b3176

Please sign in to comment.