diff --git a/infrastructure/grpc/convert.go b/infrastructure/grpc/convert.go index aba29152..db174800 100644 --- a/infrastructure/grpc/convert.go +++ b/infrastructure/grpc/convert.go @@ -77,6 +77,10 @@ func convertMicroVMToModel(spec *types.MicroVMSpec) (*models.MicroVM, error) { convertedModel.Spec.Metadata[metadataKey] = metadataValue } + if spec.Provider != nil { + convertedModel.Spec.Provider = *spec.Provider + } + return convertedModel, nil }