Skip to content

Commit

Permalink
Unused variable and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed Mar 19, 2021
1 parent c6fc284 commit 324bf9e
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 4 deletions.
3 changes: 0 additions & 3 deletions api/v1alpha1/binding_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/validation/field"
ctrl "sigs.k8s.io/controller-runtime"
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/webhook"
)

var logger = logf.Log.WithName("binding-webhook")

func (b *Binding) SetupWebhookWithManager(mgr ctrl.Manager) error {
return ctrl.NewWebhookManagedBy(mgr).
For(b).
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/bindings/binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: rabbitmq-system
spec:
vhost: "/test-vhost" # default to '/' if not provided
source: test # an existng exchange
source: test # an existing exchange
destination: test # an existing queue or exchange
destinationType: queue # can be 'queue' or 'exchange'
rabbitmqClusterReference:
Expand Down

0 comments on commit 324bf9e

Please sign in to comment.