Skip to content

Commit

Permalink
remove exit 0 for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Jun 18, 2021
1 parent ef31311 commit f4d4a0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3-alpine
USER root
RUN adduser -D kfkuser
RUN pip install strimzi-kafka-cli==0.1.0a52
RUN pip install strimzi-kafka-cli==0.1.0a53
USER kfkuser
RUN kfk version
2 changes: 1 addition & 1 deletion kfk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def download_kubectl_if_not_exists():
def update_kubectl_if_new_version_exists():
if os.path.exists(KUBECTL_PATH) and os.environ.get('STRIMZI_KAFKA_CLI_KUBECTL_VERSION') is None and os.environ.get(
'STRIMZI_KAFKA_CLI_KUBECTL_PATH') is None and KUBECTL_VERSION not in subprocess.check_output(
Kubectl().version("--client=true").build() + "; exit 0", shell=True, stderr=subprocess.STDOUT).decode(
Kubectl().version("--client=true").build(), shell=True, stderr=subprocess.STDOUT).decode(
"utf-8"):
os.rename(KUBECTL_PATH, KUBECTL_PATH + "_old")
_download_kubectl()
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = strimzi-kafka-cli
version = 0.1.0-alpha52
version = 0.1.0-alpha53
description = Command Line Interface for Strimzi Kafka Operator
url = https://github.com/systemcraftsman/strimzi-kafka-cli
long_description = file: README.md
Expand Down

0 comments on commit f4d4a0b

Please sign in to comment.