add dnsStore interface for upcoming operator webhook (#10077)

This commit is contained in:
Harshavardhana
2020-07-20 12:28:48 -07:00
committed by GitHub
parent 518f44908c
commit 9fd836e51f
7 changed files with 43 additions and 11 deletions

View File

@@ -206,7 +206,7 @@ func (d *dataUpdateTracker) load(ctx context.Context, drives ...string) {
continue
}
err = d.deserialize(f, d.Saved)
if err != nil && err != io.EOF {
if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
logger.LogIf(ctx, err)
}
f.Close()