Skip to content

Commit 2fa5f96

Browse files
author
Myron Sosyak
committed
[docker-database] Fix Python3 issue
1 parent 9930e73 commit 2fa5f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockers/docker-database/flush_unused_database

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import time
66

77
while(True):
88
output = subprocess.Popen(['sonic-db-cli', 'PING'], stdout=subprocess.PIPE).communicate()[0]
9-
if 'PONG' in output:
9+
if b'PONG' in output:
1010
break
1111
time.sleep(1)
1212

0 commit comments

Comments
 (0)