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-02 14:46:51 +04:00
2024-07-02 14:46:51 +04:00
2024-03-23 17:30:36 +05:30
2023-06-27 17:28:18 +04:00
2024-05-15 23:05:36 +04:00
2024-03-20 17:54:24 +05:30
2024-07-03 20:38:55 +04:00