summaryrefslogtreecommitdiff
path: root/xe-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'xe-daemon')
-rw-r--r--xe-daemon/xe-daemon.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/xe-daemon/xe-daemon.go b/xe-daemon/xe-daemon.go
index eaee8c7..7b07873 100644
--- a/xe-daemon/xe-daemon.go
+++ b/xe-daemon/xe-daemon.go
@@ -128,12 +128,12 @@ func main() {
}
}
}
- if count%DivisorLeastMultiple == 0 {
- if cx, ok := xs.(*xenstoreclient.CachedXenStore); ok {
- err := cx.InvalidCacheFlush()
- if err != nil {
- logger.Printf("InvalidCacheFlush error: %#v\n", err)
- }
+ }
+ if count%DivisorLeastMultiple == 0 {
+ if cx, ok := xs.(*xenstoreclient.CachedXenStore); ok {
+ err := cx.InvalidCacheFlush()
+ if err != nil {
+ logger.Printf("InvalidCacheFlush error: %#v\n", err)
}
}
}