Dmitriy Matrenichev 076f3c4f20
chore: improve link spec controller code
`SortBonds` function bothered me since the last time I refactored this part.

We always know that it only accepts `network.LinkSpec`s, but we accepted the slice of untyped Resources because
this is what `List` method returns. Now we can do better, since `safe.List` now supports `Swap` method.

We can utilize `sort.Interface` and pass `safe.List` directly to `SortBonds`.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-07-05 16:39:27 +03:00
..
2024-07-05 14:42:47 +04:00
2024-02-09 19:19:25 +03:00
2024-06-03 12:19:21 +04:00
2024-05-24 21:48:55 +04:00
2024-07-03 20:38:55 +04:00