You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message:=fmt.Sprintf("only one instance of DataScienceCluster object is allowed. Update existing instance on namespace %s and name %s", req.Namespace, req.Name)
Which referes to req.Namespace which is blank.
Since both objects are cluster scoped objects they won't ever report a namespace.
To Reproduce
Steps to reproduce the behavior:
Create a DSC
Create a DSC with a new name
View error log in operator pod
Expected behavior
The reference to namespace should probably be removed from the error message so the error message makes a little more sense.
I'm guessing that all of the references to req.Namespace can be removed from the object but not 100% sure if it is needed for some reason.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a second instance of the DSC or DSCInit is created it throws the following error in the operator pod:
The error is generated from the code here:
opendatahub-operator/controllers/datasciencecluster/datasciencecluster_controller.go
Line 81 in e1e558a
Which referes to req.Namespace which is blank.
Since both objects are cluster scoped objects they won't ever report a namespace.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The reference to namespace should probably be removed from the error message so the error message makes a little more sense.
I'm guessing that all of the references to
req.Namespace
can be removed from the object but not 100% sure if it is needed for some reason.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: