From 275013bd150c508152cf82adabd0196f1414e5a8 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Wed, 11 Sep 2019 11:17:20 +0200 Subject: [PATCH] Query. --- netbox_interfaces.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/netbox_interfaces.go b/netbox_interfaces.go index f9d6783..58c41fc 100644 --- a/netbox_interfaces.go +++ b/netbox_interfaces.go @@ -88,11 +88,11 @@ type InterfaceFilter struct { Limit int64 `schema:"limit"` //User specific filters - Id string `schema:"id"` - Name string `schema:"name"` - ConnectionStatus string `schema:"connection_status"` - Type string `schema:"type"` - Mtu string `schema:"mtu"` + Id string `schema:"id,omitempty"` + Name string `schema:"name,omitempty"` + ConnectionStatus string `schema:"connection_status,omitempty"` + Type string `schema:"type,omitempty"` + Mtu string `schema:"mtu,omitempty"` MgmtOnly string `schema:"mgmt_only"` Mode string `schema:"mode"` Description string `schema:"description"`