mirror of https://github.com/apache/jclouds.git
fixed copy on template as it was missing parameters
This commit is contained in:
parent
f425a28b80
commit
47697d6f7e
|
@ -815,6 +815,12 @@ public class TemplateBuilderImpl implements TemplateBuilder {
|
||||||
to.withMetadata();
|
to.withMetadata();
|
||||||
if (!from.shouldBlockUntilRunning())
|
if (!from.shouldBlockUntilRunning())
|
||||||
to.blockUntilRunning(false);
|
to.blockUntilRunning(false);
|
||||||
|
if (!from.shouldBlockOnComplete())
|
||||||
|
to.blockOnComplete(false);
|
||||||
|
if (from.getOverrideCredentials() != null)
|
||||||
|
to.withOverridingCredentials(from.getOverrideCredentials());
|
||||||
|
if (from.getTaskName() != null)
|
||||||
|
to.nameTask(from.getTaskName());
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
|
Loading…
Reference in New Issue