Skip to content

Commit

Permalink
Fixed missing declaration in DT check.
Browse files Browse the repository at this point in the history
  • Loading branch information
APeter0807 committed Dec 18, 2015
1 parent c501921 commit 8b464e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ecs-single-node/step2_object_provisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def RetryDTStatus(ECSNode):
ret = ""

try:
dtPrev=1
while True:
ret = subprocess.check_output(curlCommand, shell=True)
dtTot = re.findall("<total_dt_num>(.+?)</total_dt_num>", ret)[0]
Expand All @@ -147,6 +148,7 @@ def RetryDTStatus(ECSNode):
print("Directory Tables failed to initialize.")
break

dtPrev = dtTotal
time.sleep(20)

except Exception, e:
Expand Down

0 comments on commit 8b464e7

Please sign in to comment.