GoogleCloudPlatform/kubernetes — pull request #2817 by lavalamp (2014-12-10 01:09:46+00:00)
Title: Compare containers by name, not by pointer equality.

I guess the pointers that are passed around are not necessarily to the objects in the pod's container array.

This makes the events that kublet produces have the expected fieldPath (it used to call all containers "implicitly required", which is only true of the network namespace container). Unfortunately, it makes them less human-readable. It would be really nice if we could make containers a map of string to container, then it would still be easily human readable.