docs: fix function comments to match their declaration names
Several godoc comments led with a stale or incorrect identifier, left
over from renames, exported/unexported changes, copy-paste between
sibling declarations, or plain typos. As a result the documented name no
longer matched the function, method, type, or var it describes. Correct
each leading word to the name of the declaration it documents.
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 49612461a4)
This commit is contained in:
1 parent
7945914b21
commit
dcd4dfb2bd
23 files changed
+33
-33
No files matched your search
@@ -855,7 +855,7 @@ func RgwOpsLogSidecarContainer(opsLogFile, ns string, c cephv1.ClusterSpec, env
|
||||
}
|
||||
}
|
||||
|
||||
// CreateExternalMetricsEndpoints creates external metric endpoint
|
||||
// createExternalMetricsEndpoints creates external metric endpoint
|
||||
func createExternalMetricsEndpoints(namespace string, monitoringSpec cephv1.MonitoringSpec, ownerInfo *k8sutil.OwnerInfo) (*discoveryv1.EndpointSlice, error) {
|
||||
labels := AppLabels("rook-ceph-mgr", namespace)
|
||||
labels[discoveryv1.LabelServiceName] = ExternalMgrAppName
|
||||
|
||||
Reference in new issue
Block a user