mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-28 20:33:54 +00:00
Rename a bunch of "Make" functions to "New"
Also rename some to other names that make better reading. There are still a bunch of "make" functions but they do things like assemble a string from parts or build an array of things. It seemed that "make" there seemed fine. "New" is for "constructors".
This commit is contained in:
@@ -27,7 +27,7 @@ func TestRandomScheduler(t *testing.T) {
|
||||
random := rand.New(rand.NewSource(0))
|
||||
st := schedulerTester{
|
||||
t: t,
|
||||
scheduler: MakeRandomScheduler(random),
|
||||
scheduler: NewRandomScheduler(random),
|
||||
minionLister: FakeMinionLister{"m1", "m2", "m3", "m4"},
|
||||
}
|
||||
st.expectSuccess(api.Pod{})
|
||||
|
||||
Reference in New Issue
Block a user