Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Fix #1027 - workload yaml parsing#1028

Merged
tpepper merged 2 commits into
ciao-project:masterfrom
rbradford:fix-1027
Jan 18, 2017
Merged

Fix #1027 - workload yaml parsing#1028
tpepper merged 2 commits into
ciao-project:masterfrom
rbradford:fix-1027

Conversation

@rbradford

Copy link
Copy Markdown
Contributor

Fix the parsing of workload storage specified in the .yaml file. When then transition from yaml to json happened the disks struct was omitted resulting the yaml files being incorrectly parsed.

This PR fixes the tags on the struct and updates the examples to explicitly use the source type.

A further PR will remove the image_id functionality as per #988

As the yaml tags were missing on the source struct the source type for
the source was not being correctly parsed from the yaml file.

Fixes: ciao-project#1027

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
Rather that rely on the implicit creation of a storage resource derived
from the image_id update the examples to make it explicit how to specify
an image source.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
@coveralls

coveralls commented Jan 18, 2017

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.02%) to 66.78% when pulling 055c2d8 on rbradford:fix-1027 into f16db23 on 01org:master.

@rbradford rbradford changed the title Fix #1027 Fix #1027 - workload yaml parsing Jan 18, 2017
@tpepper

tpepper commented Jan 18, 2017

Copy link
Copy Markdown

Looks good to me.

@tpepper tpepper merged commit de1a5da into ciao-project:master Jan 18, 2017
@rbradford rbradford deleted the fix-1027 branch February 21, 2017 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants