diff --git a/kibana/resource_reader.go b/kibana/resource_reader.go index c32ef1e..fea3c70 100644 --- a/kibana/resource_reader.go +++ b/kibana/resource_reader.go @@ -115,8 +115,6 @@ func readDashboardReferencesFromInterface(val interface{}) []*kibana.DashboardRe dashboardRef.Type = kibana.DashboardReferencesTypeTag case kibana.DashboardReferencesTypeLens.String(): dashboardRef.Type = kibana.DashboardReferencesTypeLens - case kibana.DashboardReferencesTypeVisualization.String(): - dashboardRef.Type = kibana.DashboardReferencesTypeVisualization case kibana.DashboardReferencesTypeDashboard.String(): dashboadRef.Type = kibana.DashboardReferencesTypeDashboard } diff --git a/vendor/github.com/ewilde/go-kibana/dashboard.go b/vendor/github.com/ewilde/go-kibana/dashboard.go index ddda6f4..61d0af6 100644 --- a/vendor/github.com/ewilde/go-kibana/dashboard.go +++ b/vendor/github.com/ewilde/go-kibana/dashboard.go @@ -16,7 +16,6 @@ const ( DashboardReferencesTypeTag dashboardReferencesType = "tag" DashboardReferencesTypeLens dashboardReferencesType = "lens" DashboardReferencesTypeDashboard dashboardReferencesType = "dashboard" - DashboardReferencesTypeVisualization dashboardReferencesType = "visualization" ) type dashboardReferencesType string