Skip to content

Name: turn into string alias#9

Open
sttts wants to merge 42 commits intop0lyn0mial:kcp-feature-logical-clusters-1.24-v3from
sttts:sttts-kcp-feature-logical-clusters-1.24-v3
Open

Name: turn into string alias#9
sttts wants to merge 42 commits intop0lyn0mial:kcp-feature-logical-clusters-1.24-v3from
sttts:sttts-kcp-feature-logical-clusters-1.24-v3

Conversation

@sttts
Copy link

@sttts sttts commented Dec 6, 2022

No description provided.


// 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 :)

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