Skip to content
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

[FunctionConfig] Deprecate avatar field #3138

Merged
merged 4 commits into from
Jan 24, 2024

Conversation

TomerShor
Copy link
Contributor

It is not used anywhere.
Remove completely in 1.13.x .

Resolves #3137

pkg/functionconfig/types.go Show resolved Hide resolved
Comment on lines 466 to 468
if functionConfig.Spec.Avatar == "" {
ap.Logger.WarnWithCtx(ctx, "Avatar is deprecated and will soon not be supported")
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if functionConfig.Spec.Avatar == "" {
ap.Logger.WarnWithCtx(ctx, "Avatar is deprecated and will soon not be supported")
}
if functionConfig.Spec.Avatar != "" {
ap.Logger.WarnWithCtx(ctx, "Avatar is deprecated and will soon not be supported")
}

@TomerShor TomerShor merged commit e7fd8d6 into nuclio:development Jan 24, 2024
11 checks passed
@TomerShor TomerShor deleted the deprecate-avatar branch January 24, 2024 17:30
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.

avatar - cannot find syntax and/or example
2 participants