Merge pull request #307 from CanonicalLtd/mwhudson/pollinate

fold info and revision into single field
This commit is contained in:
Michael Hudson-Doyle 2018-04-06 09:15:25 +12:00 committed by GitHub
commit e586b72cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ class SubiquityModel:
'pollinate': { 'pollinate': {
'user_agent': { 'user_agent': {
'subiquity-version': os.environ.get("SNAP_VERSION", 'dry-run'), 'subiquity': "%s_%s"%(os.environ.get("SNAP_VERSION", 'dry-run'), os.environ.get("SNAP_REVISION", 'dry-run')),
'subiquity-revision': os.environ.get("SNAP_REVISION", 'dry-run'),
}, },
}, },