From e9ff7bb315cd69c555baa692ee60246e322fc358 Mon Sep 17 00:00:00 2001 From: BiKangNing <164312726+depthlending@users.noreply.github.com> Date: Wed, 18 Dec 2024 20:47:40 +0800 Subject: [PATCH] chore: fix some function names in comment (#454) Signed-off-by: depthlending Co-authored-by: vimystic <122659254+vimystic@users.noreply.github.com> --- 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] {