Skip to content

Commit

Permalink
fix yb-docker-ctl on windows by using unixpath instead of os.path (#2636
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ddorian authored Oct 24, 2019
1 parent 685d808 commit 60dac9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/yb-docker-ctl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import re
import subprocess
import sys
import time
import posixpath

YB_NETWORK_NAME = "yb-net"
YB_DOCKER_IMAGE = "yugabytedb/yugabyte"
Expand Down Expand Up @@ -275,7 +276,7 @@ class YBDockerControl():
def start_cluster(self, server_type, node_id, placement):
base_cmd = ['--net', YB_NETWORK_NAME, '--detach']
server_cmds = [self.docker_image_tag()]
server_cmds.append(os.path.join(self.working_dir, 'bin', server_type))
server_cmds.append(posixpath.join(self.working_dir, 'bin', server_type))

exposed_ports = []
if server_type == 'yb-master':
Expand Down

0 comments on commit 60dac9a

Please sign in to comment.