Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding provider to convert #806

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
adding provider to convert
  • Loading branch information
steve-fraser committed Jan 8, 2024
commit f5886d86934b10592fb70eebe491dd6e70158f63
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 @@
convertedModel.Spec.Metadata[metadataKey] = metadataValue
}

if convertedModel.Spec.Provider != nil {

Check failure on line 80 in infrastructure/grpc/convert.go

View workflow job for this annotation

GitHub Actions / test

invalid operation: convertedModel.Spec.Provider != nil (mismatched types string and untyped nil)
convertedModel.Spec.Provider = *spec.Provider
}

return convertedModel, nil
}

Expand Down
Loading