summaryrefslogtreecommitdiff
path: root/vendor/google.golang.org/grpc/pickfirst.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-22 16:30:52 -0500
committerGitHub <noreply@github.com>2022-02-22 16:30:52 -0500
commitbc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2 (patch)
treea1d7fada738182c2eb8cd6993f33625ae704ba94 /vendor/google.golang.org/grpc/pickfirst.go
parentd3903a85910979d8212028cf814574047015db58 (diff)
parent80c5962dba7f5ecd6b602aecd0df479bd04391b1 (diff)
downloadpodman-bc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2.tar.gz
podman-bc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2.tar.bz2
podman-bc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2.zip
Merge pull request #13276 from rhatdan/containers-common
Add containers-common spec and command to podman
Diffstat (limited to 'vendor/google.golang.org/grpc/pickfirst.go')
-rw-r--r--vendor/google.golang.org/grpc/pickfirst.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/google.golang.org/grpc/pickfirst.go b/vendor/google.golang.org/grpc/pickfirst.go
index f194d14a0..5168b62b0 100644
--- a/vendor/google.golang.org/grpc/pickfirst.go
+++ b/vendor/google.golang.org/grpc/pickfirst.go
@@ -125,7 +125,7 @@ func (b *pickfirstBalancer) Close() {
}
func (b *pickfirstBalancer) ExitIdle() {
- if b.state == connectivity.Idle {
+ if b.sc != nil && b.state == connectivity.Idle {
b.sc.Connect()
}
}