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

nit: replace one-item slice with const #885

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Nov 8, 2022

Noticed this while reviewing #884 -- it's weird that defaultTags is always a slice (and necessarily a var) when we only care about its only element, which is "latest".

@imjasonh imjasonh merged commit 32f68f3 into ko-build:main Nov 9, 2022
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.

2 participants