Skip to content

Commit

Permalink
fix link issues
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zappa <[email protected]>
  • Loading branch information
MikeZappa87 committed Dec 12, 2023
1 parent 9e58893 commit 6b248ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions pkg/types/100/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ func (r *Result) PrintTo(writer io.Writer) error {

// Interface contains values about the created interfaces
type Interface struct {
Name string `json:"name"`
Mac string `json:"mac,omitempty"`
Sandbox string `json:"sandbox,omitempty"`
Name string `json:"name"`
Mac string `json:"mac,omitempty"`
Sandbox string `json:"sandbox,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
}

Expand Down
6 changes: 3 additions & 3 deletions pkg/types/100/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ func testResult() *current.Result {
CNIVersion: current.ImplementedSpecVersion,
Interfaces: []*current.Interface{
{
Name: "eth0",
Mac: "00:11:22:33:44:55",
Sandbox: "/proc/3553/ns/net",
Name: "eth0",
Mac: "00:11:22:33:44:55",
Sandbox: "/proc/3553/ns/net",
Metadata: make(map[string]string),
},
},
Expand Down
6 changes: 3 additions & 3 deletions pkg/types/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ var _ = Describe("Types", func() {
CNIVersion: "1.0.0",
Interfaces: []*current.Interface{
{
Name: "eth0",
Mac: "00:11:22:33:44:55",
Sandbox: "/proc/3553/ns/net",
Name: "eth0",
Mac: "00:11:22:33:44:55",
Sandbox: "/proc/3553/ns/net",
Metadata: make(map[string]string),
},
},
Expand Down

0 comments on commit 6b248ea

Please sign in to comment.