Skip to content

Commit 83af8b9

Browse files
committed
Typo typo
1 parent 54956f9 commit 83af8b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test_main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var (
1616

1717
type complementOpts struct {
1818
cleanup func()
19-
customDeplyoment func(numServers int) Deployment
19+
customDeployment func(numServers int) Deployment
2020
}
2121
type opt func(*complementOpts)
2222

@@ -33,7 +33,7 @@ func WithCleanup(fn func()) opt {
3333
// WithDeployment adds a custom mechanism to deploy homeservers.
3434
func WithDeployment(fn func(numServers int) Deployment) opt {
3535
return func(co *complementOpts) {
36-
co.customDeplyoment = fn
36+
co.customDeployment = fn
3737
}
3838
}
3939

@@ -52,8 +52,8 @@ func TestMain(m *testing.M, namespace string, customOpts ...opt) {
5252
for _, o := range customOpts {
5353
o(opts)
5454
}
55-
if opts.customDeplyoment != nil {
56-
customDeployer = opts.customDeplyoment
55+
if opts.customDeployment != nil {
56+
customDeployer = opts.customDeployment
5757
}
5858

5959
var err error

0 commit comments

Comments
 (0)