Skip to content

Commit 605a878

Browse files
CSTACKEX-200: incorporate copilot comments
1 parent 0d3f4b7 commit 605a878

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/service/StorageStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ public String getAuthHeader() {
675675
*
676676
* @param jobUUID UUID of the ONTAP job to poll
677677
* @param maxRetries maximum number of poll attempts
678-
* @param sleepTimeInMilliSecs seconds to sleep between poll attempts
678+
* @param sleepTimeInMilliSecs sleep between poll attempts
679679
* @return true if the job completed successfully
680680
*/
681681
public Boolean jobPollForSuccess(String jobUUID, int maxRetries, int sleepTimeInMilliSecs) {

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/vmsnapshot/OntapVMSnapshotStrategy.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,8 +974,9 @@ String resolveConsistencyGroupSnapshotUuid(SnapshotFeignClient client, StorageSt
974974
}
975975

976976
/**
977-
* Single GET attempt: match by name, then fall back to listing all CG snapshots in this group (And it would one
978-
* always since workflow is keep deleting the CG).
977+
* Single GET attempt: try to match by name,
978+
* then fall back to listing all CG snapshots in this group (And it would be one
979+
* always since workflow is keep deleting the CG).
979980
*/
980981
String lookupConsistencyGroupSnapshotUuid(SnapshotFeignClient client, String authHeader,
981982
String cgUuid, String snapshotName) {

0 commit comments

Comments
 (0)