Skip to content

Conversation

@vikas-bh
Copy link
Contributor

@vikas-bh vikas-bh commented May 9, 2021

Signed-off-by: Vikas Bhardwaj vikasb@microsoft.com

Signed-off-by: Vikas Bhardwaj <vikasb@microsoft.com>
@vikas-bh vikas-bh requested a review from a team as a code owner May 9, 2021 19:32
Comment on lines +321 to +322
fmt.Printf("Failed deleting from defer routine network: %s-%s \n", network.Id, network.Name)
t.Fatal(err)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer if the error just had all of the information instead of writing to stdout right before. Same for line 333-334

t.Fatalf("failed to cleanup l2bridge network %s-%s: %v", network.Id, network.Name, err)

Comment on lines +357 to +359
} else {
fmt.Printf("Found endpoint: %s-%s \n", foundEndpoint.Id, foundEndpoint.Name)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The else isn't needed

Copy link

@erfrimod erfrimod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elweb9858
Copy link
Contributor

lgtm

Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't wanna hold this back for some nit comments on test code so lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants