From 980d0ee4d465bb890793bcfa2d0eabeca3e8dd76 Mon Sep 17 00:00:00 2001 From: Joseph Phillips Date: Fri, 20 Oct 2023 12:13:16 +0200 Subject: [PATCH] Removes V6 network-info RPC transport, which became obsolete with the removal of old uniter facade versions. --- rpc/params/network.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/rpc/params/network.go b/rpc/params/network.go index 547bc7f3081..3b39c57a753 100644 --- a/rpc/params/network.go +++ b/rpc/params/network.go @@ -1209,17 +1209,6 @@ type NetworkInfoResults struct { Results map[string]NetworkInfoResult `json:"results"` } -// NetworkInfoResultV6 holds either and error or a list of NetworkInfos for given binding. -type NetworkInfoResultV6 struct { - Error *Error `json:"error,omitempty" yaml:"error,omitempty"` - Info []NetworkInfo `json:"network-info" yaml:"info"` -} - -// NetworkInfoResultsV6 holds a mapping from binding name to NetworkInfoResultV6. -type NetworkInfoResultsV6 struct { - Results map[string]NetworkInfoResultV6 `json:"results"` -} - // NetworkInfoParams holds a name of the unit and list of bindings for which we want to get NetworkInfos. type NetworkInfoParams struct { Unit string `json:"unit"`