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
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/red-hat-storage/ocs-client-operator/api

go 1.23.0
go 1.24.6

require k8s.io/apimachinery v0.31.0

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/red-hat-storage/ocs-client-operator

go 1.24.3

toolchain go1.24.5
go 1.24.6

replace (
github.com/portworx/sched-ops => github.com/portworx/sched-ops v0.20.4-openstorage-rc3 // required by Rook v1.12
Expand Down
4 changes: 4 additions & 0 deletions internal/controller/storageclient_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,10 @@ func (r *storageClientReconcile) onboardConsumer(externalClusterClient *provider

// offboardConsumer makes an API call to the external storage provider cluster for offboarding
func (r *storageClientReconcile) offboardConsumer(externalClusterClient *providerClient.OCSProviderClient) error {
// the client wasn't onboarded at all
if r.storageClient.Status.ConsumerID == "" {
return nil
}
if _, err := externalClusterClient.OffboardConsumer(r.ctx, r.storageClient.Status.ConsumerID); err != nil {
return fmt.Errorf("failed to offboard consumer: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ github.com/ramendr/ramen/api/v1alpha1
## explicit; go 1.22.0
github.com/red-hat-storage/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1
# github.com/red-hat-storage/ocs-client-operator/api v0.0.0-00010101000000-000000000000 => ./api
## explicit; go 1.23.0
## explicit; go 1.24.6
github.com/red-hat-storage/ocs-client-operator/api/v1alpha1
# github.com/red-hat-storage/ocs-operator/services/provider/api/v4 v4.0.0-20251009102644-5727239a7b48
## explicit; go 1.24.3
Expand Down