Skip to content

Remove deprecated field from Deployment #5809

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 6 commits into
base: master
Choose a base branch
from

Conversation

sagnik3788
Copy link
Contributor

What this PR does:
as title

Why we need it:
version field was already marked as deprecated and is no longer in use

Which issue(s) this PR fixes:

Fixes #5061

@t-kikuc
Copy link
Member

t-kikuc commented May 12, 2025

Signed-off-by: sagnik3788 <[email protected]>
@sagnik3788
Copy link
Contributor Author

I will fix these

@khanhtc1202 khanhtc1202 changed the title remove deprecated field from Deployment Remove deprecated field from Deployment May 15, 2025
@t-kikuc
Copy link
Member

t-kikuc commented May 16, 2025

@sagnik3788 Please fix lint and test, and use make gen/code

Signed-off-by: sagnik3788 <[email protected]>
Signed-off-by: sagnik3788 <[email protected]>
Copy link
Member

@Warashi Warashi left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution.

I commented on nits.

@@ -77,7 +77,6 @@ var (
d.StatusReason = statusReason
d.RunningCommitHash = runningCommitHash
d.RunningConfigFilename = runningConfigFilename
d.Version = version
Copy link
Member

Choose a reason for hiding this comment

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

Please remove the argument version because it is unused now.

@t-kikuc
Copy link
Member

t-kikuc commented May 22, 2025

@sagnik3788 And please fix the conflict 🙇 It's due to other PRs.

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.

Remove deprecated model.Deployment.version
3 participants