Skip to content

Commit

Permalink
Update charm libraries (#256)
Browse files Browse the repository at this point in the history
* chore: update charm libraries

* revert rolling ops changes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: arturo-seijas <102022572+arturo-seijas@users.noreply.github.com>
Co-authored-by: Arturo Seijas <arturo.seijas@canonical.com>
  • Loading branch information
3 people authored Jun 4, 2024
1 parent 6baba43 commit 5eea96d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/charms/data_platform_libs/v0/data_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def _on_topic_requested(self, event: TopicRequestedEvent):

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 36
LIBPATCH = 37

PYDEPS = ["ops>=2.0.0"]

Expand Down Expand Up @@ -658,6 +658,10 @@ def set_content(self, content: Dict[str, str]) -> None:
if not self.meta:
return

# DPE-4182: do not create new revision if the content stay the same
if content == self.get_content():
return

if content:
self._move_to_new_label_if_needed()
self.meta.set_content(content)
Expand Down

0 comments on commit 5eea96d

Please sign in to comment.