Skip to content

Commit 5b85a60

Browse files
authored
Merge pull request #367 from sdcio/fix/panic-on-connection-timeout
2 parents 5d82548 + 1732762 commit 5b85a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sdc/schemaserver/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func (r *client) Start(ctx context.Context) error {
113113
}
114114
if !conn.WaitForStateChange(dialCtx, s) {
115115
// context expired or canceled
116-
if err := r.conn.Close(); err != nil {
116+
if err := conn.Close(); err != nil {
117117
log.Error("close error", "err", err)
118118
}
119119
return fmt.Errorf("gRPC connect timeout; last state: %s", s.String())

0 commit comments

Comments
 (0)