runtime/kubernetes: remove unused name variable

This commit is contained in:
Lars Lehtonen 2020-01-30 09:25:50 -08:00
parent 5f6271b044
commit 98d55545fd
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2

View File

@ -271,12 +271,6 @@ func (k *kubernetes) Create(s *runtime.Service, opts ...runtime.CreateOption) er
options.Type = k.options.Type options.Type = k.options.Type
} }
// quickly prevalidate the name and version
name := s.Name
if len(s.Version) > 0 {
name = name + "-" + s.Version
}
// create new kubernetes micro service // create new kubernetes micro service
service := newService(s, options) service := newService(s, options)