Skip to content

Commit 66268c6

Browse files
author
Noah Meyerhans
committed
Fix coding error in NewSetMetadataHandler
121ef9a introduced Firecracker MMDS support, but included a bug that prevented it from actually setting the given MMDS value. Signed-off-by: Noah Meyerhans <[email protected]>
1 parent e5695db commit 66268c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func NewSetMetadataHandler(metadata interface{}) Handler {
173173
return Handler{
174174
Name: SetMetadataHandlerName,
175175
Fn: func(ctx context.Context, m *Machine) error {
176-
return m.SetMetadata(ctx, m.Metadata)
176+
return m.SetMetadata(ctx, metadata)
177177
},
178178
}
179179
}

0 commit comments

Comments
 (0)