Skip to content

Model Generator includes status: enabled unnecessarily #17918

@hortison

Description

@hortison

Current Behavior

Freshly generated components carry status: enabled in their json definitions

Desired Behavior

Update model generation logic in https://github.com/meshery/meshkit function to avoid the unnecessary overhead of including status: enabled, when this is already the default behavior. There's no need to explicitly include duplicative property and value of the default behavior.

Implementation

  1. changes in MeshKit
  2. validation (and maybe, but probably not) changes in mesheryctl.

Acceptance Tests

  1. mesheryctl registry generate produces components without this status property.

Contributor Guides and Handbook

Metadata

Metadata

Assignees

Labels

area/modelsModels, Components, Relationships related changescomponent/mesheryctlCLI for Mesheryhelp wantedExtra attention is neededkind/enhancementImprovement in current featurelanguage/goIssues or pull requests that use Golang

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions