Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 2309489:[release-4.17] Fix noobaa-account name to be storageconsumer name #2784

Closed
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
4 changes: 4 additions & 0 deletions controllers/storageconsumer/storageconsumer_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
r.cephClientHealthChecker = &rookCephv1.CephClient{}
r.cephClientHealthChecker.Name = GenerateHashForCephClient(r.storageConsumer.Name, "global")
r.cephClientHealthChecker.Namespace = r.namespace

r.noobaaAccount = &nbv1.NooBaaAccount{}

Check failure on line 131 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / go test (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)

Check failure on line 131 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / go test (1.22)

undefined: nbv1

Check failure on line 131 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)

Check failure on line 131 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

undefined: nbv1

Check failure on line 131 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)

Check failure on line 131 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

undefined: nbv1
r.noobaaAccount.Name = r.storageConsumer.Name

Check failure on line 132 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / go test (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)

Check failure on line 132 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)

Check failure on line 132 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)
r.noobaaAccount.Namespace = r.storageConsumer.Namespace

Check failure on line 133 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / go test (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)

Check failure on line 133 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount)) (typecheck)

Check failure on line 133 in controllers/storageconsumer/storageconsumer_controller.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.22)

r.noobaaAccount undefined (type *StorageConsumerReconciler has no field or method noobaaAccount) (typecheck)
}

func (r *StorageConsumerReconciler) reconcilePhases() (reconcile.Result, error) {
Expand Down
Loading