From 9af8435e3c12fc11e7938323bb9e6bbf5037cb0b Mon Sep 17 00:00:00 2001 From: powervs-ibm Date: Thu, 29 Feb 2024 15:16:12 +0000 Subject: [PATCH 1/2] Generated Swagger client from service-broker commit 9786c4b2360ad846a1aa8f68f01fbb41979af3c9 --- power/models/s_a_p_profile.go | 3 +++ power/models/volumes_clone_async_request.go | 1 + power/models/volumes_clone_execute.go | 1 + power/models/volumes_clone_request.go | 1 + 4 files changed, 6 insertions(+) diff --git a/power/models/s_a_p_profile.go b/power/models/s_a_p_profile.go index 73096fa6..6333b489 100644 --- a/power/models/s_a_p_profile.go +++ b/power/models/s_a_p_profile.go @@ -36,6 +36,9 @@ type SAPProfile struct { // Required: true ProfileID *string `json:"profileID"` + // List of supported systems + SupportedSystems []string `json:"supportedSystems"` + // Type of profile // Required: true // Enum: [balanced compute memory non-production ultra-memory] diff --git a/power/models/volumes_clone_async_request.go b/power/models/volumes_clone_async_request.go index 7c4628c2..1b0993a1 100644 --- a/power/models/volumes_clone_async_request.go +++ b/power/models/volumes_clone_async_request.go @@ -26,6 +26,7 @@ type VolumesCloneAsyncRequest struct { // Example volume names using name="volume-abcdef" // single volume clone will be named "clone-volume-abcdef-83081" // multi volume clone will be named "clone-volume-abcdef-73721-1", "clone-volume-abcdef-73721-2", ... + // For multiple volume clone, the provided name will be truncated to the first 20 characters. // // Required: true Name *string `json:"name"` diff --git a/power/models/volumes_clone_execute.go b/power/models/volumes_clone_execute.go index 1d880001..b470cb78 100644 --- a/power/models/volumes_clone_execute.go +++ b/power/models/volumes_clone_execute.go @@ -26,6 +26,7 @@ type VolumesCloneExecute struct { // Example volume names using name="volume-abcdef" // single volume clone will be named "clone-volume-abcdef-83081" // multi volume clone will be named "clone-volume-abcdef-73721-1", "clone-volume-abcdef-73721-2", ... + // For multiple volume clone, the provided name will be truncated to the first 20 characters. // // Required: true Name *string `json:"name"` diff --git a/power/models/volumes_clone_request.go b/power/models/volumes_clone_request.go index 7ed5f8c5..cb238678 100644 --- a/power/models/volumes_clone_request.go +++ b/power/models/volumes_clone_request.go @@ -25,6 +25,7 @@ type VolumesCloneRequest struct { // Example volume names using displayName="volume-abcdef" // single volume clone will be named "clone-volume-abcdef" // multi volume clone will be named "clone-volume-abcdef-1", "clone-volume-abcdef-2", ... + // For multiple volume clone, the provided name will be truncated to the first 20 characters. // // Required: true DisplayName *string `json:"displayName"` From 76f19f50ba7451c6ab2b2cdeae28131deb203a33 Mon Sep 17 00:00:00 2001 From: michael kad Date: Thu, 29 Feb 2024 16:51:20 -0600 Subject: [PATCH 2/2] Fix build --- .github/workflows/go.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c9da35fa..ae738aa2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,6 +15,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.20' + - name: Lint uses: golangci/golangci-lint-action@v4 with: @@ -26,11 +31,6 @@ jobs: with: args: ./... - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: '1.20' - - name: Build run: go build -v ./...