Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
qzydustin authored and kradalby committed Jul 23, 2023
1 parent 6567af7 commit fb203a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hscontrol/types/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,9 @@ type MachineAddresses []netip.Addr
func (ma MachineAddresses) Sort() {
sort.Slice(ma, func(index1, index2 int) bool {
if ma[index1].Is4() && ma[index2].Is6() {

return true
}
if ma[index1].Is6() && ma[index2].Is4() {

return false
}

Expand Down

0 comments on commit fb203a2

Please sign in to comment.