Changing the scheduler package to use *api.Pod instead of api.Pod to
avoid unnecessary shallow copies. The change rippled through a lot of code.
This commit is contained in:
@@ -64,7 +64,7 @@ const (
|
||||
// functionally similar, this helps our unit tests properly check that the correct PodUpdates
|
||||
// are generated.
|
||||
type PodUpdate struct {
|
||||
Pods []api.Pod
|
||||
Pods []*api.Pod
|
||||
Op PodOperation
|
||||
Source string
|
||||
}
|
||||
|
Reference in New Issue
Block a user