Skip to content

Commit

Permalink
update loki_push_api to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
dstathis committed Jan 25, 2024
1 parent 83fde6b commit bf475cd
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 253 deletions.
4 changes: 2 additions & 2 deletions INTEGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ requires:
2. Obtain the library from charmhub:

```shell
charmcraft fetch-lib charms.loki_k8s.v0.loki_push_api
charmcraft fetch-lib charms.loki_k8s.v1.loki_push_api
```

3. Import the library and use it in your `src/charm.py`:

```python
from charms.loki_k8s.v0.loki_push_api import LogProxyConsumer
from charms.loki_k8s.v1.loki_push_api import LogProxyConsumer
...
class MyOperatorCharm(CharmBase):
Expand Down
Loading

0 comments on commit bf475cd

Please sign in to comment.