Skip to content

Commit

Permalink
remove unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Hailey committed May 28, 2021
1 parent 4d673f2 commit 4dde660
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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,
},
}
)

Expand Down

0 comments on commit 4dde660

Please sign in to comment.