Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/linters/codespell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,12 @@ encryted
enebled
enmpty
entires
enviornment
environmnet
equivalant
erro
erronous
everthing
everytime
excetion
excption
excute
execept
execption
Expand Down
2 changes: 1 addition & 1 deletion python/lib/cloudutils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def writeProgressBar(msg, result):
sys.stdout.flush()

class UnknownSystemException(Exception):
"This Excption is raised if the current operating enviornment is unknown"
"This Exception is raised if the current operating environment is unknown"
pass

class Distribution:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3113,7 +3113,7 @@ public Volume detachVolumeFromVM(DetachVolumeCmd cmmd) {
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous detach volume job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down Expand Up @@ -3548,7 +3548,7 @@ public Volume migrateVolume(MigrateVolumeCmd cmd) {
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous migrate volume job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down Expand Up @@ -3895,7 +3895,7 @@ private Snapshot takeSnapshotInternal(Long volumeId, Long policyId, Long snapsho
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous take volume snapshot job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down Expand Up @@ -4259,7 +4259,7 @@ public String extractVolume(ExtractVolumeCmd cmd) {
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous extract volume job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ public VMSnapshot createVMSnapshot(Long vmId, Long vmSnapshotId, Boolean quiesce
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (java.util.concurrent.ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous create VM snapshot job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down Expand Up @@ -660,7 +660,7 @@ public boolean deleteVMSnapshot(Long vmSnapshotId) {
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (java.util.concurrent.ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous delete VM snapshot job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down Expand Up @@ -785,7 +785,7 @@ public UserVm revertToSnapshot(Long vmSnapshotId) throws InsufficientCapacityExc
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (java.util.concurrent.ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous revert to snapshot job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down Expand Up @@ -1036,7 +1036,7 @@ public boolean deleteAllVMSnapshots(long vmId, VMSnapshot.Type type) {
} catch (InterruptedException e) {
throw new RuntimeException("Operation is interrupted", e);
} catch (java.util.concurrent.ExecutionException e) {
throw new RuntimeException("Execution excetion", e);
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous delete snapshots job", e);
}

Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());
Expand Down
Loading