Skip to content

Conversation

@dorbae
Copy link
Contributor

@dorbae dorbae commented Dec 7, 2025

Refactor docker info formatter to use Go template syntax.

Description

This change refactors the docker info command formatter argument in the invoker deployment task to use the Go template format. The command will use docker info -f "{{json .}}" instead of docker info -f json.

The latest Docker document illustrates both 'json' and 'template' options for the -f flag. However, the output was just json when I tested it on docker client 18.x. (Similar issue) and it has been fixed since docker 23.0.5.

I suggest the usage of go template rather than json.

Related issue and scope

  • I opened an issue to propose and discuss this change (#????)

My changes affect the following components

  • API
  • Controller
  • Message Bus (e.g., Kafka)
  • Loadbalancer
  • Scheduler
  • Invoker
  • Intrinsic actions (e.g., sequences, conductors)
  • Data stores (e.g., CouchDB)
  • Tests
  • Deployment
  • CLI
  • General tooling
  • Documentation

Types of changes

  • Bug fix (generally a non-breaking change which closes an issue).
  • Enhancement or new feature (adds new functionality).
  • Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

  • I signed an Apache CLA.
  • I reviewed the style guides and followed the recommendations (Travis CI will check :).
  • I added tests to cover my changes.
  • My changes require further changes to the documentation.
  • I updated the documentation where necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant