Skip to content

Commit

Permalink
Removed unnecessary typ aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutzen committed Jan 30, 2024
1 parent 33b7a59 commit d5dbbd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go/pkg/pass1/expand-group.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (c *spoc) expandTypedName(typ, name string) ipVxGroupObj {
return obj
}

type networkAutoIntfKey = struct {
type networkAutoIntfKey struct {
network *network
managed bool
}
Expand Down
4 changes: 2 additions & 2 deletions go/pkg/pass1/mark-secondary-rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ func markPrimary(z *zone, mark int) {
}
}

type conflictKey = struct {
type conflictKey struct {
isSrc bool
isPrimary bool
mark int
net *network
}

type conflictInfo = struct {
type conflictInfo struct {
supernets map[*network]bool
rules []*groupedRule
}
Expand Down

0 comments on commit d5dbbd8

Please sign in to comment.