Skip to content

Commit

Permalink
Rename option
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
  • Loading branch information
glazychev-art committed Mar 16, 2022
1 parent cbbb4a0 commit be473fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/networkservice/common/cleanup/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ type options struct {
// Option - options for the cleanup chain element
type Option func(*options)

// WithCCClose - closes clientconn to prevent calling requests/closes on other datapath objects
func WithCCClose() Option {
// WithoutGrpcCall - closes client connection to prevent calling requests/closes on other endpoints
func WithoutGrpcCall() Option {
return func(o *options) {
o.ccClose = true
}
Expand Down

0 comments on commit be473fb

Please sign in to comment.