From f68d988e780319e751ab0e57efa3e81c234c2100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= Date: Sun, 29 Dec 2019 11:09:34 +0100 Subject: [PATCH] device: Expose selfDevice attribute in LBDeviceState (#28) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- f5/device.go | 1 + 1 file changed, 1 insertion(+) diff --git a/f5/device.go b/f5/device.go index 7bf9435..340c48c 100644 --- a/f5/device.go +++ b/f5/device.go @@ -10,6 +10,7 @@ type LBDeviceState struct { Path string `json:"fullPath"` FailoverState string `json:"failoverState"` ManagementIP string `json:"managementIP"` + Self bool `json:"selfDevice,string"` } func (f *Device) ShowDevice() (error, *LBDeviceRef) {