Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 5, 2024
1 parent 8a32cb8 commit e190fb3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions nodes/bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ const (
iptCheckCmd = "-vL FORWARD -w 5"
iptAllowCmd = "-I FORWARD -i %s -j ACCEPT -w 5"

generateable = true
generateIfFornamt = "eth%d"
generateable = true
generateIfFormat = "eth%d"
)

// Register registers the node in the NodeRegistry.
func Register(r *nodes.NodeRegistry) {
generateNodeAttributes := nodes.NewGenerateNodeAttributes(generateable, generateIfFornamt)
generateNodeAttributes := nodes.NewGenerateNodeAttributes(generateable, generateIfFormat)
nrea := nodes.NewNodeRegistryEntryAttributes(nil, generateNodeAttributes)

r.Register(kindnames, func() nodes.Node {
Expand Down
4 changes: 2 additions & 2 deletions nodes/ipinfusion_ocnos/ipinfusion_ocnos.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ var (
const (
scrapliPlatformName = "ipinfusion_ocnos"
generateable = false
generateIfFornamt = ""
generateIfFormat = ""
)

// Register registers the node in the NodeRegistry.
func Register(r *nodes.NodeRegistry) {
generateNodeAttributes := nodes.NewGenerateNodeAttributes(generateable, generateIfFornamt)
generateNodeAttributes := nodes.NewGenerateNodeAttributes(generateable, generateIfFormat)
nrea := nodes.NewNodeRegistryEntryAttributes(defaultCredentials, generateNodeAttributes)

r.Register(kindnames, func() nodes.Node {
Expand Down
6 changes: 3 additions & 3 deletions nodes/linux/linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ import (
)

const (
generateable = true
generateIfFornamt = "eth%d"
generateable = true
generateIfFormat = "eth%d"
)

var kindnames = []string{"linux"}

// Register registers the node in the NodeRegistry.
func Register(r *nodes.NodeRegistry) {
generateNodeAttributes := nodes.NewGenerateNodeAttributes(generateable, generateIfFornamt)
generateNodeAttributes := nodes.NewGenerateNodeAttributes(generateable, generateIfFormat)
nrea := nodes.NewNodeRegistryEntryAttributes(nil, generateNodeAttributes)

r.Register(kindnames, func() nodes.Node {
Expand Down

0 comments on commit e190fb3

Please sign in to comment.