Skip to content

cache: avoid nil dereference#1511

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:nil-cast-fix
May 29, 2020
Merged

cache: avoid nil dereference#1511
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:nil-cast-fix

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

fixes #1510

When one of the parallel requests is canceled error will be returned without the callback finishing. In that case, the value will be nil and type isn't controlled by the callback.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
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.

panic: interface conversion: interface {} is nil, not int64

2 participants