Skip to content

Commit ee17d69

Browse files
committed
review feedback
1 parent 7db9644 commit ee17d69

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

examples/sfs/src/main/java/cloud/stackit/sdk/sfs/examples/SfsExample.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,14 +289,15 @@ public static void main(String[] args) throws IOException {
289289
}
290290

291291
/* delete the created snapshot */
292+
System.out.println("\nTrigger deletion of the resource pool snapshot");
292293
Objects.requireNonNull(
293294
createResourcePoolSnapshotResponse.getResourcePoolSnapshot().getSnapshotName());
294295
sfsApi.deleteResourcePoolSnapshot(
295296
projectId,
296297
REGION,
297298
createdResourcePoolId,
298299
createResourcePoolSnapshotResponse.getResourcePoolSnapshot().getSnapshotName());
299-
System.out.println("\nDeleted the created snapshot");
300+
System.out.println("Deleted the resource pool snapshot");
300301

301302
/*
302303
* ///////////////////////////////////////////////////////
@@ -327,6 +328,7 @@ public static void main(String[] args) throws IOException {
327328
.description("Java SDK example 2")
328329
.order(2)
329330
.readOnly(true))));
331+
330332
System.out.println("\nCreated new share export policy:");
331333
Objects.requireNonNull(createShareExportPolicyResponse.getShareExportPolicy());
332334
System.out.println(
@@ -367,7 +369,7 @@ public static void main(String[] args) throws IOException {
367369
.readOnly(true)
368370
.superUser(false))));
369371

370-
System.out.println("\nUpdated the created export policy:");
372+
System.out.println("Updated the created export policy:");
371373
Objects.requireNonNull(updateShareExportPolicyResponse.getShareExportPolicy());
372374
System.out.println(
373375
"* Share export policy ID: "
@@ -473,6 +475,7 @@ public static void main(String[] args) throws IOException {
473475
System.out.println("* Created at: " + getShareResponse.getShare().getCreatedAt());
474476

475477
/* update the created share */
478+
System.out.println("\nTrigger update of share:");
476479
UpdateShareResponse updateShareResponse =
477480
sfsApi.updateShare(
478481
projectId,
@@ -558,7 +561,8 @@ public static void main(String[] args) throws IOException {
558561
*/
559562
/* delete the created share */
560563
System.out.println(
561-
"\nTrigger deletion of share with ID: " + createShareResponse.getShare().getId());
564+
"\nTrigger deletion of share with ID: "
565+
+ createShareResponse.getShare().getId());
562566
sfsApi.deleteShare(
563567
projectId,
564568
REGION,

0 commit comments

Comments
 (0)