File tree Expand file tree Collapse file tree
client/WEB-INF/classes/resources
integration-test/test/org/apache/cloudstack/storage/test
src/org/apache/cloudstack/storage
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ label.installWizard.addHostIntro.subtitle=Was ist ein host?
381381label.installWizard.addHostIntro.title =host hinzuf\u00FC gen
382382label.installWizard.addPodIntro.subtitle =Was ist ein pod?
383383label.installWizard.addPodIntro.title =pod hinzuf\u00FC gen
384- label.installWizard.addPrimaryStorageIntro.subtitle =Was ist primay storage?
384+ label.installWizard.addPrimaryStorageIntro.subtitle =Was ist primary storage?
385385label.installWizard.addPrimaryStorageIntro.title =primary storage hinzuf\u00FC gen
386386label.installWizard.addSecondaryStorageIntro.subtitle =Was ist secondary storage?
387387label.installWizard.addSecondaryStorageIntro.title =secondary storage
Original file line number Diff line number Diff line change 2323import javax .inject .Inject ;
2424
2525import org .apache .cloudstack .storage .to .ImageDataStoreTO ;
26- import org .apache .cloudstack .storage .to .ImageOnPrimayDataStoreTO ;
26+ import org .apache .cloudstack .storage .to .ImageOnPrimaryDataStoreTO ;
2727import org .apache .cloudstack .storage .to .PrimaryDataStoreTO ;
2828import org .apache .cloudstack .storage .to .TemplateTO ;
2929import org .mockito .Mockito ;
@@ -126,7 +126,7 @@ public void testInitResource() {
126126
127127 @ Test
128128 public void testDownloadTemplate () {
129- ImageOnPrimayDataStoreTO image = Mockito .mock (ImageOnPrimayDataStoreTO .class );
129+ ImageOnPrimaryDataStoreTO image = Mockito .mock (ImageOnPrimaryDataStoreTO .class );
130130 PrimaryDataStoreTO primaryStore = Mockito .mock (PrimaryDataStoreTO .class );
131131 Mockito .when (primaryStore .getUuid ()).thenReturn (this .getLocalStorageUuid ());
132132 Mockito .when (image .getPrimaryDataStore ()).thenReturn (primaryStore );
Original file line number Diff line number Diff line change 1818 */
1919package org .apache .cloudstack .storage .command ;
2020
21- import org .apache .cloudstack .storage .to .ImageOnPrimayDataStoreTO ;
21+ import org .apache .cloudstack .storage .to .ImageOnPrimaryDataStoreTO ;
2222import org .apache .cloudstack .storage .to .VolumeTO ;
2323
2424import com .cloud .agent .api .Command ;
2525
2626public class CreateVolumeFromBaseImageCommand extends Command implements StorageSubSystemCommand {
2727 private final VolumeTO volume ;
28- private final ImageOnPrimayDataStoreTO image ;
28+ private final ImageOnPrimaryDataStoreTO image ;
2929
3030 public CreateVolumeFromBaseImageCommand (VolumeTO volume , String image ) {
3131 this .volume = volume ;
@@ -36,7 +36,7 @@ public VolumeTO getVolume() {
3636 return this .volume ;
3737 }
3838
39- public ImageOnPrimayDataStoreTO getImage () {
39+ public ImageOnPrimaryDataStoreTO getImage () {
4040 return this .image ;
4141 }
4242
Original file line number Diff line number Diff line change 2020
2121import org .apache .cloudstack .storage .volume .TemplateOnPrimaryDataStoreInfo ;
2222
23- public class ImageOnPrimayDataStoreTO {
23+ public class ImageOnPrimaryDataStoreTO {
2424 private final String pathOnPrimaryDataStore ;
2525 private PrimaryDataStoreTO dataStore ;
2626 private final TemplateTO template ;
27- public ImageOnPrimayDataStoreTO (TemplateOnPrimaryDataStoreInfo template ) {
27+ public ImageOnPrimaryDataStoreTO (TemplateOnPrimaryDataStoreInfo template ) {
2828 this .pathOnPrimaryDataStore = template .getPath ();
2929 //this.dataStore = template.getPrimaryDataStore().getDataStoreTO();
3030 this .template = new TemplateTO (template .getTemplate ());
Original file line number Diff line number Diff line change 3939import org .apache .cloudstack .storage .command .CreateVolumeFromBaseImageCommand ;
4040import org .apache .cloudstack .storage .command .StorageSubSystemCommand ;
4141import org .apache .cloudstack .storage .datastore .protocol .DataStoreProtocol ;
42- import org .apache .cloudstack .storage .to .ImageOnPrimayDataStoreTO ;
42+ import org .apache .cloudstack .storage .to .ImageOnPrimaryDataStoreTO ;
4343import org .apache .cloudstack .storage .to .VolumeTO ;
4444import org .apache .http .HttpEntity ;
4545import org .apache .http .HttpResponse ;
@@ -206,7 +206,7 @@ protected Answer execute(DeleteVolumeCommand cmd) {
206206
207207 protected Answer execute (CreateVolumeFromBaseImageCommand cmd ) {
208208 VolumeTO volume = cmd .getVolume ();
209- ImageOnPrimayDataStoreTO baseImage = cmd .getImage ();
209+ ImageOnPrimaryDataStoreTO baseImage = cmd .getImage ();
210210 Connection conn = hypervisorResource .getConnection ();
211211
212212 try {
You can’t perform that action at this time.
0 commit comments