Plug definition changed

We are not able to release a new version of opentelemetry-collector because the definition of a plug changed. Now instead of pointing to a file is pointing to a directory


The definition of this plug have changed:

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 45fbaa2..7996fbd 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -19,7 +19,7 @@ plugs:
   etc-otelcol-config:
     interface: system-files
     read:
-      - /etc/otelcol/config.yaml
+      - /etc/otelcol/config.d
   logs:
     interface: content
     target: $SNAP/shared-logs

Hi @cav

Please, can you have a look at this?

Considering it is a small change, I think that reviewers original votes are still valid. Thus, I’m happy to go ahead and grant it. This is live now.

1 Like