Skip to content

Commit 43d025f

Browse files
committed
Lowercase for manifest connection
1 parent 8f704e5 commit 43d025f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: rpm clean source test coverage
22

3-
KAFKA_OPS_VERSION ?= 1.0.2
3+
KAFKA_OPS_VERSION ?= 1.0.3
44
BUILD_NUMBER ?= 1
55
KAFKA_OPS ?= kafka-ops
66
REPO ?= github.com/agapoff/${KAFKA_OPS}

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"text/template"
1717
)
1818

19-
const version string = "1.0.2"
19+
const version string = "1.0.3"
2020

2121
var (
2222
broker string
@@ -310,10 +310,10 @@ func applySpecFile() error {
310310
broker = spec.Connection.Broker
311311
}
312312
if spec.Connection.Protocol != "" {
313-
protocol = spec.Connection.Protocol
313+
protocol = strings.ToLower(spec.Connection.Protocol)
314314
}
315315
if spec.Connection.Mechanism != "" {
316-
mechanism = spec.Connection.Mechanism
316+
mechanism = strings.ToLower(spec.Connection.Mechanism)
317317
}
318318
if spec.Connection.Username != "" {
319319
username = spec.Connection.Username

0 commit comments

Comments
 (0)