Merge "IPv6 Distributed Cloud: update to bootstrap overrides formatting"

This commit is contained in:
Zuul 2019-09-17 21:14:25 +00:00 committed by Gerrit Code Review
commit 555e6fa95c
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
import datetime
import filecmp
import json
import keyring
import netaddr
import os
@ -348,7 +349,7 @@ class SubcloudManager(manager.Manager):
)
for k, v in payload.items():
f_out_overrides_file.write("%s: %s\n" % (k, v))
f_out_overrides_file.write("%s: %s\n" % (k, json.dumps(v)))
def _delete_subcloud_routes(self, context, subcloud):
"""Delete the routes to this subcloud"""