Fix vet errors

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Merge pull request #8977 from LK4D4/vet_fixes

Fix vet errors