yatfa 1.0.84 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,7 +102,7 @@ module YatfaAgent
102
102
  # @return [String, nil] label value
103
103
  def self.get_container_label(container_id, label)
104
104
  result = IO.popen(
105
- ["docker", "inspect", "--format", "{{.Config.Labels.#{label}}}", container_id],
105
+ ["docker", "inspect", "--format", %({{index .Config.Labels "#{label}"}}), container_id],
106
106
  err: File::NULL,
107
107
  &:read
108
108
  ).strip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yatfa",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "YATFA - Yet Another Tool For Agents",
5
5
  "bin": "./bin/run-yatfa-agent.rb",
6
6
  "files": [