corrected return value in updater to prevent allocation

This commit is contained in:
Todd Gruben 2018-01-23 11:19:07 -06:00 committed by Travis Turner
parent f5d5cbb0b9
commit a159c74498
No known key found for this signature in database
GPG key ID: 7F08008DFD9314C9

View file

@ -60,7 +60,7 @@ func (u updater) update(oldV *container, exists bool) (*container, bool) {
oldV.containerType = u.containerType
oldV.n = u.n
oldV.mapped = u.mapped
return oldV, true
return oldV, false
}
return &container{
containerType: u.containerType,