From 4dde660bf13212b8832d892ebbd7642d6330089a Mon Sep 17 00:00:00 2001 From: Caleb Hailey Date: Fri, 28 May 2021 11:01:13 -0700 Subject: [PATCH] remove unused arguments --- main.go | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/main.go b/main.go index 94ac013..d6e8679 100644 --- a/main.go +++ b/main.go @@ -38,7 +38,6 @@ type Config struct { // type Deregistration struct { // Handler string `json:"handler"` // } - type ObjectMeta struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` @@ -143,33 +142,6 @@ var ( Usage: "Checks event.Check.Output for a newline-separated list of entity management commands to execute", Value: &plugin.AddAll, }, - { - Path: "patch/subscriptions", - Env: "", - Argument: "", - Shorthand: "", - Default: []string{}, - Usage: "Sensu Entity Subscriptions", - Value: &plugin.Subscriptions, - }, - { - Path: "patch/labels", - Env: "", - Argument: "", - Shorthand: "", - Default: "", - Usage: "Sensu Entity Labels", - Value: &plugin.Labels, - }, - { - Path: "patch/annotations", - Env: "", - Argument: "", - Shorthand: "", - Default: "", - Usage: "Sensu Entity Annotations", - Value: &plugin.Annotations, - }, } )