do not compare snapshot unless non nil (#1830)
This commit is contained in:
parent
7c5e3b0f30
commit
0a79db498c
@ -86,7 +86,7 @@ func (c *config) run() {
|
||||
|
||||
c.Lock()
|
||||
|
||||
if c.snap.Version >= snap.Version {
|
||||
if c.snap != nil && c.snap.Version >= snap.Version {
|
||||
c.Unlock()
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user