Skip to content

Commit

Permalink
Merge 03d3230 into c467027
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-fraser committed Jan 8, 2024
2 parents c467027 + 03d3230 commit 8007c58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infrastructure/grpc/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8007c58

Please sign in to comment.