Skip to content

prevent panic if TINI_COMMIT isn't set during build#40361

Merged
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:no_panic
Jan 10, 2020
Merged

prevent panic if TINI_COMMIT isn't set during build#40361
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:no_panic

Conversation

@thaJeztah
Copy link
Member

extracted from #40094

If TINI_COMMIT isn't set, .go-autogen sets an empty value as the "expected" commit. Attempting to truncate the value caused a panic in that situation.

If TINI_COMMIT isn't set, .go-autogen sets an empty value
as the "expected" commit. Attempting to truncate the value
caused a panic in that situation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the no_panic branch 2 times, most recently from 118709c to 339fb74 Compare January 10, 2020 14:31
@cpuguy83 cpuguy83 merged commit 9d4c722 into moby:master Jan 10, 2020
@thaJeztah thaJeztah deleted the no_panic branch January 10, 2020 17:27
@thaJeztah thaJeztah added this to the 20.03.0 milestone Apr 2, 2020
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.

3 participants