Skip to content

Conversation

@tonistiigi
Copy link
Member

Remove stub for now so we don't ship it in a release.

@tonistiigi tonistiigi added this to the v0.31.0 milestone Jan 16, 2026
jsternberg
jsternberg previously approved these changes Jan 16, 2026
Copy link
Collaborator

@jsternberg jsternberg left a comment

Choose a reason for hiding this comment

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

Fine as-is but I think we should just comment out the command code rather than remove it entirely since we reference it in a TODO.


cmd.AddCommand(
jsonSchemaCmd(),
// TODO: jsonSchemaCmd(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we just keep the template for this function in the other file since we reference the function in a comment here? Might be easier to just comment out the code in json_schema.go instead.

Copy link
Member Author

Choose a reason for hiding this comment

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

The linter will fail if there are unreferenced functions so a big block would need to be commented in. If you want I can modify the comment to just say "policy json-schema command" so it is not pointing to a function.

Remove stub for now so we don't ship it in a release.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi merged commit 9567f7f into docker:master Jan 16, 2026
161 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants