Skip to content

Commit

Permalink
Merge branch 'archit-status2' of https://github.com/architkulkarni/go…
Browse files Browse the repository at this point in the history
…-cni into archit-status2
  • Loading branch information
architkulkarni committed Oct 15, 2024
2 parents 955b753 + b8a52b5 commit 90ca69d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cni.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,7 @@ func (c *libcni) reset() {

// StatusDetail returns a slice of network statuses
func (c *libcni) StatusDetail(ctx context.Context) ([]*NetworkStatus, error) {
err := c.Status()

if err != nil {
if err := c.Status(); err != nil {
return nil, err
}

Expand Down

0 comments on commit 90ca69d

Please sign in to comment.