Skip to content

fix(controller): remove version validation from MicroAppConfig#78

Merged
ZiyangLinScality merged 1 commit intomainfrom
bugfix/remove-version-check
Jan 28, 2026
Merged

fix(controller): remove version validation from MicroAppConfig#78
ZiyangLinScality merged 1 commit intomainfrom
bugfix/remove-version-check

Conversation

@ZiyangLinScality
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 28, 2026 16:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the version field validation from the MicroAppConfig validation function, making it consistent with the API design where the Version field is marked as optional (json:"version,omitempty" in ScalityUIComponentStatus).

Changes:

  • Removed validation check for spec.version field in validateMicroAppConfig function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ZiyangLinScality ZiyangLinScality merged commit e4e9365 into main Jan 28, 2026
9 checks passed
@ZiyangLinScality ZiyangLinScality deleted the bugfix/remove-version-check branch January 28, 2026 17:00
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.

3 participants