diff options
author | Cheng Zhang <cheng.zhang@citrix.com> | 2017-03-03 17:07:29 +0800 |
---|---|---|
committer | Cheng Zhang <cheng.zhang@citrix.com> | 2017-03-06 17:58:54 +0800 |
commit | eeeb4687c833c8a300ae72cdddbb9fa7708f6324 (patch) | |
tree | 06a37d53773dfe666b5b3c4334c7dc90f8956df8 /xe-daemon | |
parent | 02ac798c29d17983d295b3db5c1e9e941d1d3d39 (diff) | |
download | vyos-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.go | 12 |
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) } } } |