Style fixes for registry/registry.go

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

Style fixes for registry/registry.go