Skip to content

Commit

Permalink
OpenStack: Add Disk's ListIID() to Test_Resources.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed Oct 4, 2024
1 parent f6a0f07 commit e5e281f
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,8 @@ func testDiskHandlerListPrint() {
cblogger.Info("5. ChangeDiskSize()")
cblogger.Info("6. AttachDisk()")
cblogger.Info("7. DetachDisk()")
cblogger.Info("8. Exit")
cblogger.Info("8. ListIID()")
cblogger.Info("9. Exit")
}

func testDiskHandler(config Config) {
Expand Down Expand Up @@ -1092,6 +1093,14 @@ Loop:
}
cblogger.Info("Finish DetachDisk()")
case 8:
cblogger.Info("Start ListIID() ...")
if result, err := diskHandler.ListIID(); err != nil {
cblogger.Error(err)
} else {
spew.Dump(result)
}
cblogger.Info("Finish ListIID()")
case 9:
cblogger.Info("Exit")
break Loop
}
Expand Down

0 comments on commit e5e281f

Please sign in to comment.