Skip to content

Conversation

jellonek
Copy link
Contributor

@jellonek jellonek commented Nov 6, 2018

Closes #794


This change is Reviewable

Copy link
Contributor

@lukaszo lukaszo left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 2 approvals obtained (waiting on @jellonek)


pkg/libvirttools/cloudinit.go, line 407 at r1 (raw file):

func mtuForMacAddress(mac string, ifaces []*network.InterfaceDescription) (uint16, error) {
	for _, iface := range ifaces {
		if iface.HardwareAddr.String() == strings.ToLower(mac) {

what about left part?

Copy link
Contributor Author

@jellonek jellonek left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 change requests, 0 of 2 approvals obtained (waiting on @lukaszo)


pkg/libvirttools/cloudinit.go, line 407 at r1 (raw file):

Previously, lukaszo (Łukasz Oleś) wrote…

what about left part?

It's made from https://golang.org/src/net/mac.go?s=190:208#L1 so imo we should expect from stdlib that as stable behavior.

Copy link
Contributor

@lukaszo lukaszo left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: 1 change requests, 0 of 2 approvals obtained

Copy link
Contributor

@ivan4th ivan4th left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: 1 of 2 approvals obtained

@ivan4th ivan4th merged commit 31f0fe3 into master Nov 6, 2018
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.

3 participants