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

Commit

Permalink
Fix in rabbitMQ plugin.
Browse files Browse the repository at this point in the history
    -fix typo in description,
    -fix cpolicy in config reading

    Signed-off-by: Patryk Matyjasek <patryk.matyjasek@intel.com>
  • Loading branch information
PatrykMatyjasek committed Sep 17, 2015
1 parent c0fc4f1 commit 013fc72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/publisher/pulse-publisher-rabbitmq/rmq/rmq.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ func (rmq *rmqPublisher) GetConfigPolicy() cpolicy.ConfigPolicy {
r1.Description = "RabbitMQ Address (host:port)"
config.Add(r1)

r2, err := cpolicy.NewIntegerRule("exchange_name", true)
r2, err := cpolicy.NewStringRule("exchange_name", true)
handleErr(err)
r2.Description = "RabbitMQ Exhcnage Name"
r2.Description = "RabbitMQ Exchange Name"
config.Add(r2)

r3, err := cpolicy.NewStringRule("exchange_type", true)
Expand Down

0 comments on commit 013fc72

Please sign in to comment.