Fix spelling
This commit is contained in:
parent
42da186b62
commit
69551689d5
@ -516,7 +516,7 @@ func (kl *Kubelet) getServiceEnvVarMap(ns string, enableServiceLinks bool) (map[
|
|||||||
|
|
||||||
// We always want to add environment variabled for master services
|
// We always want to add environment variabled for master services
|
||||||
// from the master service namespace, even if enableServiceLinks is false.
|
// from the master service namespace, even if enableServiceLinks is false.
|
||||||
// We also add enviroment variables for other services in the same
|
// We also add environment variables for other services in the same
|
||||||
// namespace, if enableServiceLinks is true.
|
// namespace, if enableServiceLinks is true.
|
||||||
if service.Namespace == kl.masterServiceNamespace && masterServices.Has(serviceName) {
|
if service.Namespace == kl.masterServiceNamespace && masterServices.Has(serviceName) {
|
||||||
if _, exists := serviceMap[serviceName]; !exists {
|
if _, exists := serviceMap[serviceName]; !exists {
|
||||||
|
Loading…
Reference in New Issue
Block a user