Fix go vet warnings

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #7555 from LK4D4/fix_vet_warnings

Fix go vet warnings