Skip to content

fix: use correct variable metrics-addr #22616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ranomier
Copy link

rename metrics-address to metrics-addr

Description

just a little correction on variable naming

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

rename metrics-address to metrics-addr
@github-actions github-actions bot added the area/engine Issue affects Docker engine/daemon label May 12, 2025
Copy link

netlify bot commented May 12, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 2e60cc3
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/6821a388e810bd00084bb5d3
😎 Deploy Preview https://deploy-preview-22616--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this change is correct, but perhaps you have more context?

`metrics-address` in the `daemon.json` configuration file. This daemon expects
`metrics-addr` in the `daemon.json` configuration file. This daemon expects
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went checking, but looks like metrics-addr is the correct name of the field in the daemon.json configuration file;
https://github.com/moby/moby/blob/7979b3d46b20316da9a7966d610e1e75bf3297c0/daemon/config/config.go#L241

MetricsAddress string `json:"metrics-addr"`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issue affects Docker engine/daemon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants