Skip to content

Commit

Permalink
fix: var name
Browse files Browse the repository at this point in the history
  • Loading branch information
woorui committed Sep 7, 2023
1 parent dc8112f commit 8c98acf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ var (
}
}

// WithUptreamOption provides upstream zipper options for Zipper.
WithUptreamOption = func(opts ...ClientOption) ZipperOption {
// WithUpstreamOption provides upstream zipper options for Zipper.
WithUpstreamOption = func(opts ...ClientOption) ZipperOption {
return func(o *zipperOptions) {
o.clientOption = opts
}
Expand Down
2 changes: 1 addition & 1 deletion zipper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestZipperRun(t *testing.T) {
nil,
nil,
// WithAuth("token", "<CREDENTIAL>"),
WithUptreamOption(core.ClientOption(WithCredential("token:<CREDENTIAL>"))),
WithUpstreamOption(core.ClientOption(WithCredential("token:<CREDENTIAL>"))),
WithZipperLogger(ylog.Default()),
WithZipperQuicConfig(core.DefalutQuicConfig),
WithZipperTLSConfig(nil),
Expand Down

0 comments on commit 8c98acf

Please sign in to comment.