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

Name: turn into string alias #9

Open
wants to merge 42 commits into
base: kcp-feature-logical-clusters-1.24-v3
Choose a base branch
from

Conversation

sttts
Copy link

@sttts sttts commented Dec 6, 2022

No description provided.

@@ -50,7 +50,7 @@ type customResourceDefinitionsClusterClient struct {

// Cluster scopes the client down to a particular cluster.
func (c *customResourceDefinitionsClusterClient) Cluster(cluster logicalcluster.Path) apiextensionsv1beta1client.CustomResourceDefinitionInterface {
if cluster == logicalcluster.WildcardPath {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, this code was autogenerated :)

@@ -86,10 +86,10 @@ func ValidClusterFrom(ctx context.Context) (*Cluster, error) {
func ClusterNameFrom(ctx context.Context) (logicalcluster.Name, error) {
cluster, err := ValidClusterFrom(ctx)
if err != nil {
return logicalcluster.Name{}, err
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 89 and 92 are the only valid changes in this PR, right?

@p0lyn0mial p0lyn0mial force-pushed the kcp-feature-logical-clusters-1.24-v3 branch 5 times, most recently from 614c602 to 0669e76 Compare December 9, 2022 13:21
@p0lyn0mial p0lyn0mial force-pushed the kcp-feature-logical-clusters-1.24-v3 branch from 0669e76 to abcb3d0 Compare December 15, 2022 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants