Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
discordianfish committed Dec 30, 2019
1 parent d95549c commit 79b50ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion cmd/webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ var (
kubeconfig = flag.String("kubeconfig", "", "If set, use this kubeconfig to connect to kubernetes")
baseURL = flag.String("gh-base-url", "", "GitHub Enterprise: Base URL")
uploadURL = flag.String("gh-upload-url", "", "GitHub Enterprise: Upload URL")
gitAddress = flag.String("git", "[email protected]", "Git address")
debug = flag.Bool("debug", false, "Enable debug logging")
dryRun = flag.Bool("dry", false, "Dry run; Do not apply resouce manifest")
insecure = flag.Bool("insecure", false, "Allow omitting WEBHOOK_SECRET for testing")
Expand Down
5 changes: 1 addition & 4 deletions handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ func (k *mockKubernetesClient) Apply(obj runtime.Object, namespace string) error
}

type mockLoader struct {
obj runtime.Object
repo string
path string
ref string
obj runtime.Object
}

func (l *mockLoader) Load(ctx context.Context, repo, path, ref string) (runtime.Object, error) {
Expand Down

0 comments on commit 79b50ad

Please sign in to comment.