Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

Commit a715718

Browse files
authored
Update queue.go
1 parent 3604929 commit a715718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

broker/amqp/queue.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func (et ExchangeType) IsValid() error {
3131
func (et ExchangeType) String() string {
3232
switch et {
3333
case Direct, Fanout, Topic, Headers:
34-
return fmt.Sprintf("%s", string(et))
34+
return string(et)
3535
default:
3636
return "direct"
3737
}

0 commit comments

Comments
 (0)