Merge pull request #1197 from dmcgowan/fix-snapshot-client-panic

Fix panic in snapshotter client when connection fails
This commit is contained in:
Stephen Day 2017-07-17 11:51:50 -07:00 committed by GitHub
commit afd533de33

View File

@ -105,7 +105,7 @@ func (r *remoteSnapshotter) Walk(ctx context.Context, fn func(context.Context, s
Snapshotter: r.snapshotterName,
})
if err != nil {
errdefs.FromGRPC(err)
return errdefs.FromGRPC(err)
}
for {
resp, err := sc.Recv()