Skip to content

Commit 517f921

Browse files
committed
fix lint
1 parent ad442af commit 517f921

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

pkg/gridtypes/zos/network_light.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func NetworkID(twin uint32, network gridtypes.Name) NetID {
3232
if len(b) > 13 {
3333
b = b[:13]
3434
}
35-
return NetID(string(b))
35+
return NetID(b)
3636
}
3737

3838
func NetworkIDFromWorkloadID(wl gridtypes.WorkloadID) (NetID, error) {

pkg/primitives/vm-light/utils.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ import (
1717
"github.com/threefoldtech/zos4/pkg/stubs"
1818
)
1919

20-
var networkResourceNet = net.IPNet{
21-
IP: net.ParseIP("100.64.0.0"),
22-
Mask: net.IPv4Mask(0xff, 0xff, 0, 0),
23-
}
24-
2520
// fill up the VM (machine) object with write boot config for a full virtual machine (with a disk image)
2621
func (p *Manager) prepVirtualMachine(
2722
ctx context.Context,

0 commit comments

Comments
 (0)