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 requested a review from jonjohnsonjr November 8, 2022 21:25
@imjasonh imjasonh mentioned this pull request Nov 8, 2022
@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