Skip to content

CLOUDSTACK-8648: Do not configure the ImageFormat Processor when fetc… - #606

Closed
wido wants to merge 2 commits into
apache:masterfrom
wido:CLOUDSTACK-8648
Closed

wido wants to merge 2 commits into
apache:masterfrom
wido:CLOUDSTACK-8648

Conversation

@wido

@wido wido commented Jul 20, 2015

Copy link
Copy Markdown
Contributor

…hing filesize

It will throw an exception and that's needed.

Also, make the log show about which file we are talking about

Signed-off-by: Wido den Hollander wido@widodh.nl

…hing filesize

It will throw an exception and that's needed.

Also, make the log show about which file we are talking about

Signed-off-by: Wido den Hollander <wido@widodh.nl>
@karuturi

Copy link
Copy Markdown
Member

while I agree with the code change based on the current implementations of getVirtualSize, should we just pass the storage layer in the params so that any new implementation if required can use the storage layer?

Map<String, Object> params = new HashMap<String, Object>();
params.put(StorageLayer.InstanceConfigKey, _storage);
processor.configure("template processor", new HashMap<String, Object>());

@wido

wido commented Jul 21, 2015

Copy link
Copy Markdown
Contributor Author

Shouldn't we then pass "params" to the configure method? That seems to be missing in your example.

@karuturi

Copy link
Copy Markdown
Member

yes. copy paste error :)

@wido

wido commented Jul 23, 2015

Copy link
Copy Markdown
Contributor Author

@karuturi Fixed that. See the new commit

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #118 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #816 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #51 SUCCESS
This pull request looks good

@karuturi

Copy link
Copy Markdown
Member

Thanks for the update. changes looks good 👍
Some unit/marvin tests would be good

@DaanHoogland

Copy link
Copy Markdown
Contributor

LGTM, thought a simple unit test is certainly a compelling idea

@asfgit asfgit closed this in 31b486d Jul 26, 2015
maneesha-p pushed a commit to maneesha-p/cloudstack that referenced this pull request Jul 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants