-
Notifications
You must be signed in to change notification settings - Fork 382
Tests for filter.go and comments in types.go #2055
Tests for filter.go and comments in types.go #2055
Conversation
@@ -1314,9 +1316,9 @@ const ( | |||
// SpecServiceBrokerName is used for ServiceClasses, the parent service broker name. | |||
FilterSpecServiceBrokerName = "spec.serviceBrokerName" | |||
// SpecClusterServiceClassName is only used for plans, the parent service class name. | |||
FilterSpecClusterServiceClassName = "spec.clusterServiceClass.name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo this change
// name - the value set to [Cluster]ServicePlan.Name | ||
// spec.externalName - the value set to [Cluster]ServicePlan.Spec.ExternalName | ||
// spec.externalID - the value set to [Cluster]ServicePlan.Spec.ExternalID | ||
// spec.serviceClassName - the value set to [Cluster]ServicePlan.Spec.ServiceClassRef.Name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this line to:
// spec.serviceClass.name - the value set to ServicePlan.Spec.ServiceClassRef.Name
// spec.clusterServiceClass.name - the value set to ClusterServicePlan.Spec.ClusterServiceClassRef.Name
// SpecServiceClassName is only used for plans, the parent service class name. | ||
FilterSpecServiceClassName = "spec.serviceClass.name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And undo this change.
pkg/apis/servicecatalog/types.go
Outdated
// name - the value set to [Cluster]ServicePlan.Name | ||
// spec.externalName - the value set to [Cluster]ServicePlan.Spec.ExternalName | ||
// spec.externalID - the value set to [Cluster]ServicePlan.Spec.ExternalID | ||
// spec.serviceClassName - the value set to [Cluster]ServicePlan.Spec.ServiceClassRef.Name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments apply to here from the other types file
@carolynvs put on those kicking boots please, this build needs a kick. (Relates to #2036) |
Kicked! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for resubmitting and sorry for all the trouble!
I accidentally closed my PR... long story, But here it is again with a fix for scotts comment