Skip to content

Commit 68c8e2e

Browse files
committed
fix field name typo AllowMDDS -> AllowMDDS
The field should be named AllowMMDS in the NetworkConfiguration to reflect the name in Firecracker swagger model. Signed-off-by: Anirudh Aithal <[email protected]>
1 parent 96af430 commit 68c8e2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

machine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ type NetworkInterface struct {
156156
// HostDevName defines the file path of the tap device on the host.
157157
HostDevName string
158158
// AllowMMDS makes the Firecracker MMDS available on this network interface.
159-
AllowMDDS bool
159+
AllowMMDS bool
160160

161161
// InRateLimiter limits the incoming bytes.
162162
InRateLimiter *models.RateLimiter
@@ -490,7 +490,7 @@ func (m *Machine) createNetworkInterface(ctx context.Context, iface NetworkInter
490490
IfaceID: &ifaceID,
491491
GuestMac: iface.MacAddress,
492492
HostDevName: iface.HostDevName,
493-
AllowMmdsRequests: iface.AllowMDDS,
493+
AllowMmdsRequests: iface.AllowMMDS,
494494
}
495495

496496
if iface.InRateLimiter != nil {

0 commit comments

Comments
 (0)