From e52934a54a4bd5bfc8ba4d9eca838b8a45d6f5a9 Mon Sep 17 00:00:00 2001 From: depthlending Date: Wed, 11 Dec 2024 10:39:04 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: depthlending --- internal/fullnode/addrbook.go | 2 +- internal/fullnode/rbac_builder.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/fullnode/addrbook.go b/internal/fullnode/addrbook.go index d1f94664..0e540b15 100644 --- a/internal/fullnode/addrbook.go +++ b/internal/fullnode/addrbook.go @@ -25,7 +25,7 @@ ls -l $CONFIG_DIR/addrbook.json echo "Address book $ADDRBOOK_FILE downloaded" ` -// DownloadGenesisCommand returns a proper address book command for use in an init container. +// DownloadAddrbookCommand returns a proper address book command for use in an init container. func DownloadAddrbookCommand(cfg cosmosv1.ChainSpec) (string, []string) { args := []string{"-c"} switch { diff --git a/internal/fullnode/rbac_builder.go b/internal/fullnode/rbac_builder.go index 6e4022a8..7e8b4e2b 100644 --- a/internal/fullnode/rbac_builder.go +++ b/internal/fullnode/rbac_builder.go @@ -84,7 +84,7 @@ func BuildRoles(crd *cosmosv1.CosmosFullNode) []diff.Resource[*rbacv1.Role] { return diffCr } -// BuildRoles returns a list of role binding bindings given the crd. +// BuildRoleBindings returns a list of role binding bindings given the crd. // // Creates a single role binding binding for the version check. func BuildRoleBindings(crd *cosmosv1.CosmosFullNode) []diff.Resource[*rbacv1.RoleBinding] {