runtime/kubernetes: remove unused name variable
This commit is contained in:
parent
5f6271b044
commit
98d55545fd
@ -271,12 +271,6 @@ func (k *kubernetes) Create(s *runtime.Service, opts ...runtime.CreateOption) er
|
||||
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
|
||||
service := newService(s, options)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user