Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #341 from c-mart/fix-application-tags-json
Browse files Browse the repository at this point in the history
Populate Glance image metadata application_tags with valid JSON
  • Loading branch information
steve-gregory authored Apr 19, 2017
2 parents 62686fd + 7a9b897 commit fed9aae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/application_to_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import argparse
import hashlib
import json
import logging
import os
import sys
Expand Down Expand Up @@ -255,7 +256,7 @@ def main():
application_version=app_version.name,
application_description=app.description,
application_owner=app_creator_uname,
application_tags=str(app_tags),
application_tags=json.dumps(app_tags),
application_uuid=str(app.uuid),
# Todo min_disk? min_ram? Do we care?
)
Expand Down

0 comments on commit fed9aae

Please sign in to comment.