Skip to content

tiltfile: store normalized image name on dc_resource for matching against imagesByName#1066

Merged
maiamcc merged 1 commit into
masterfrom
maiamcc/normalized-image
Jan 25, 2019
Merged

tiltfile: store normalized image name on dc_resource for matching against imagesByName#1066
maiamcc merged 1 commit into
masterfrom
maiamcc/normalized-image

Conversation

@maiamcc

@maiamcc maiamcc commented Jan 25, 2019

Copy link
Copy Markdown
Contributor

whoops try this one

@jazzdan jazzdan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread internal/docker/image.go
return named.String(), nil
}

func MustNormalizeRefName(ref string) string {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This could live in the test package as it's only used there

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

that makes sense, though i'm inclined to leave it near the function it Must's? 🤷‍♀️

@maiamcc
maiamcc merged commit 1cf5354 into master Jan 25, 2019
@maiamcc
maiamcc deleted the maiamcc/normalized-image branch January 25, 2019 21:43
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