Skip to content

Commit

Permalink
chore: Update release.yaml (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmraul authored Feb 22, 2024
1 parent 5b18a0d commit 0f7c5cb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
fetch-depth: 0
- name: Check libs
uses: canonical/charming-actions/check-libraries@2.1.0
uses: canonical/charming-actions/check-libraries@2.2.3
with:
credentials: "${{ secrets.CHARMHUB_TOKEN }}" # FIXME: current token will expire in 2023-07-04
github-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
13 changes: 10 additions & 3 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,17 @@ def __init__(self, *args):
# MANAGERS

self.config_manager = KafkaConfigManager(
self.state, self.workload, self.config, current_version=self.upgrade.current_version
state=self.state,
workload=self.workload,
config=self.config,
current_version=self.upgrade.current_version,
)
self.tls_manager = TLSManager(
state=self.state, workload=self.workload, substrate=self.substrate
)
self.auth_manager = AuthManager(
state=self.state, workload=self.workload, kafka_opts=self.config_manager.kafka_opts
)
self.tls_manager = TLSManager(self.state, self.workload, substrate=self.substrate)
self.auth_manager = AuthManager(self.state, self.workload, self.config_manager.kafka_opts)

# LIB HANDLERS

Expand Down

0 comments on commit 0f7c5cb

Please sign in to comment.