Skip to content

Commit

Permalink
azure fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpylephilalegal committed Mar 15, 2017
1 parent 59dc6d9 commit 75bcb64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions da-cli
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def fix_registered_instances():
elb.register_targets(TargetGroupArn=target_groups_arns[targetGroupRedirect], Targets=[{'Id': server}])

def start_up(the_count=1):
the_count = int(the_count)
print "Creating EC2 instances"
update_ec2_instances(the_count + 1)
print "Updating backend count"
Expand Down
2 changes: 1 addition & 1 deletion docassemble_webapp/docassemble/webapp/cloud_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys
import re
import socket
import docassemble.webapp.cloud

if __name__ == "__main__":
import docassemble.base.config
Expand All @@ -13,6 +12,7 @@ def main():
roles = os.environ.get('CONTAINERROLE', None)
if roles is None:
return
import docassemble.webapp.cloud
cloud = docassemble.webapp.cloud.get_cloud()
if cloud is not None:
roles = re.sub(r'^:+|:+$', r'', roles)
Expand Down

0 comments on commit 75bcb64

Please sign in to comment.