Fix spelling

This commit is contained in:
Brad Hoekstra 2018-09-22 00:07:08 -04:00
parent 42da186b62
commit 69551689d5

View File

@ -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 {