-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
volume: add computed attribute
external_id
(#410)
CSI volumes have an external ID regardless on how they were added to Nomad, so add a computed attribute `external_id` to `nomad_csi_volume`. This makes the schema of `nomad_csi_volume` and `nomad_csi_volume_registration` compatible so that the read method can be shared between then again.
- Loading branch information
Showing
2 changed files
with
72 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters