Skip to content

Commit 6960a80

Browse files
authored
Fix comments (#3773)
Signed-off-by: tcpdumppy <847462026@qq.com>
1 parent 2e188e4 commit 6960a80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ func getSubnetConfigsFromFlags(v *viper.Viper, subnetIDs []ids.ID) (map[ids.ID]s
10761076
return res, nil
10771077
}
10781078

1079-
// getSubnetConfigs reads SubnetConfigs to node config map
1079+
// getSubnetConfigsFromDir reads SubnetConfigs to node config map
10801080
func getSubnetConfigsFromDir(v *viper.Viper, subnetIDs []ids.ID) (map[ids.ID]subnets.Config, error) {
10811081
subnetConfigPath, err := getPathFromDirKey(v, SubnetConfigDirKey)
10821082
if err != nil {

tests/fixture/tmpnet/kube.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func DefaultPodFlags(networkName string, dataDir string) map[string]string {
4646
}
4747
}
4848

49-
// newNodeStatefulSet returns a statefulset for an avalanchego node.
49+
// NewNodeStatefulSet returns a statefulset for an avalanchego node.
5050
func NewNodeStatefulSet(
5151
name string,
5252
imageName string,

0 commit comments

Comments
 (0)