chore: fix comment (#21966)
This commit is contained in:
parent
7fe95fc3f9
commit
dd9e5825ae
@ -57,7 +57,7 @@ type GatherResponse struct {
|
||||
ContentType string
|
||||
}
|
||||
|
||||
// New creates a new instance of Metrics
|
||||
// NewMetrics creates a new instance of Metrics
|
||||
func NewMetrics(cfg *Config) (*Metrics, error) {
|
||||
if numGlobalLabels := len(cfg.GlobalLabels); numGlobalLabels > 0 {
|
||||
parsedGlobalLabels := make([]metrics.Label, numGlobalLabels)
|
||||
|
||||
@ -16,7 +16,7 @@ import (
|
||||
"cosmossdk.io/store/v2/root"
|
||||
)
|
||||
|
||||
// QueryBlockResultsCmd implements the default command for a BlockResults query.
|
||||
// PrunesCmd implements the default command for pruning app history states.
|
||||
func (s *Server[T]) PrunesCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "prune [pruning-method]",
|
||||
|
||||
@ -19,7 +19,7 @@ var (
|
||||
|
||||
const ServerName = "store"
|
||||
|
||||
// StoreComponent manages store config and contains prune & snapshot commands
|
||||
// Server manages store config and contains prune & snapshot commands
|
||||
type Server[T transaction.Tx] struct {
|
||||
config *Config
|
||||
// saving appCreator for only RestoreSnapshotCmd
|
||||
|
||||
@ -24,7 +24,7 @@ import (
|
||||
|
||||
const SnapshotFileName = "_snapshot"
|
||||
|
||||
// QueryBlockResultsCmd implements the default command for a BlockResults query.
|
||||
// ExportSnapshotCmd exports app state to snapshot store.
|
||||
func (s *Server[T]) ExportSnapshotCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "export",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user