Skip to content

Commit

Permalink
fix: adds new type to PerNetwork Options. This way networks can have …
Browse files Browse the repository at this point in the history
…options passed into them through the cli easily in the future
  • Loading branch information
b-m-f committed Oct 26, 2022
1 parent cc5ee5a commit 5213206
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libnetwork/types/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ type PerNetworkOptions struct {
// InterfaceName for this container. Required in the backend.
// Optional in the frontend. Will be filled with ethX (where X is a integer) when empty.
InterfaceName string `json:"interface_name"`
// Path to WireGuard configuration.
// Will only be used when the network driver is WireGuard
WireGuardConfigPath string `json:"wireguard_config_path"`
// Additional options that should be applied to a network
// Optional
Options map[string]string `json:"options,omitempty"`
}

// NetworkOptions for a given container.
Expand Down

0 comments on commit 5213206

Please sign in to comment.