Skip to content

store: skip DockerContext field from being saved #1455

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

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

crazy-max
Copy link
Member

related to #1454

Forgot to skip DockerContext field from being saved. Otherwise when a new builder is created, it will be added to the store:

{
  "Name": "hardcore_wu",
  "Driver": "docker-container",
  "Nodes": [
    {
      "Name": "hardcore_wu0",
      "Endpoint": "unix:///var/run/docker.sock",
      "Platforms": null,
      "Flags": null,
      "DriverOpts": null,
      "Files": null
    }
  ],
  "Dynamic": false,
  "DockerContext": false
}

Signed-off-by: CrazyMax crazy-max@users.noreply.github.com

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
@crazy-max crazy-max requested a review from jedevc December 7, 2022 15:00
@crazy-max crazy-max merged commit d1f7931 into docker:master Dec 7, 2022
@crazy-max crazy-max deleted the nodegroup-exclude-field branch December 7, 2022 15:07
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.

2 participants