Skip to content

Commit 701a5e7

Browse files
ErikJiangpacoxu
authored andcommitted
fix typos
Signed-off-by: bo.jiang <[email protected]>
1 parent 082c854 commit 701a5e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/v1alpha1/huaweicloudcluster_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ type HuaweiCloudClusterList struct {
7878
Items []HuaweiCloudCluster `json:"items"`
7979
}
8080

81-
// GetConditions returns the observations of the operational state of the AWSCluster resource.
81+
// GetConditions returns the HuaweiCloudCluster's conditions.
8282
func (r *HuaweiCloudCluster) GetConditions() clusterv1.Conditions {
8383
return r.Status.Conditions
8484
}
8585

86-
// SetConditions sets the underlying service state of the AWSCluster to the predescribed clusterv1.Conditions.
86+
// SetConditions sets the underlying service state of the HuaweiCloudCluster to the predescribed clusterv1.Conditions.
8787
func (r *HuaweiCloudCluster) SetConditions(conditions clusterv1.Conditions) {
8888
r.Status.Conditions = conditions
8989
}

pkg/scope/cluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
Copyright 2018 The Kubernetes Authors.
2+
Copyright 2025.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
77
8-
http://www.apache.org/licenses/LICENSE-2.0
8+
http://www.apache.org/licenses/LICENSE-2.0
99
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)