summaryrefslogtreecommitdiff
path: root/xe-daemon
diff options
context:
space:
mode:
authorCheng Zhang <cheng.zhang@citrix.com>2017-03-03 17:07:29 +0800
committerCheng Zhang <cheng.zhang@citrix.com>2017-03-06 17:58:54 +0800
commiteeeb4687c833c8a300ae72cdddbb9fa7708f6324 (patch)
tree06a37d53773dfe666b5b3c4334c7dc90f8956df8 /xe-daemon
parent02ac798c29d17983d295b3db5c1e9e941d1d3d39 (diff)
downloadvyos-xe-guest-utilities-eeeb4687c833c8a300ae72cdddbb9fa7708f6324.tar.gz
vyos-xe-guest-utilities-eeeb4687c833c8a300ae72cdddbb9fa7708f6324.zip
CA-243280: Report mac for guest VM
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
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)
}
}
}