aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
Diffstat (limited to 'kolla')
-rw-r--r--kolla/common/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolla/common/utils.py b/kolla/common/utils.py
index 9cd8ecca9..68996e4b1 100644
--- a/kolla/common/utils.py
+++ b/kolla/common/utils.py
@@ -47,7 +47,7 @@ def get_docker_squash_version():
try:
stdout = subprocess.check_output( # nosec
['docker-squash', '--version'], stderr=subprocess.STDOUT)
- return stdout.split()[0]
+ return str(stdout.split()[0], 'utf-8')
except OSError as ex:
if ex.errno == 2:
LOG.error(('"docker-squash" command is not found.'