VSChina / magic-modules

Magic Modules: Automagically generate Google Cloud Platform support for OSS
Apache License 2.0
1 stars 4 forks source link

Filter out `location` from updatable_properties #81

Closed magodo closed 4 years ago

magodo commented 4 years ago

Since location is always set to be force new, so we should skip it in update function. Previously if sdk defined location as one of update request fields, the generated code will end up with using an undefined variable of location during sdk to property part in update function.

magodo commented 4 years ago

This should fix issue: #79