Skip to content

Commit

Permalink
Removes V6 network-info RPC transport, which became obsolete with the
Browse files Browse the repository at this point in the history
removal of old uniter facade versions.
  • Loading branch information
manadart committed Oct 20, 2023
1 parent 34c9f98 commit 980d0ee
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions rpc/params/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 980d0ee

Please sign in to comment.