Commit a68a9ea
authored
instance: fix network interface plan modifier (#634)
The instance `mac_address` is also a computed attribute, so it needs to
be set to `unknown` if the network interface is recreated.
I tried to create a reflect-based approach to handle this automatically,
but the code was a bit too much for what it is doing. I don't expect we
would change the schema too often, so I found a more explicit approach
better. We should reconsider this decision If we find ourselves running
into problems keeping this function updated though.1 parent c7f5384 commit a68a9ea
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2873 | 2873 | | |
2874 | 2874 | | |
2875 | 2875 | | |
| 2876 | + | |
2876 | 2877 | | |
2877 | 2878 | | |
2878 | 2879 | | |
| |||
0 commit comments