This commit is contained in:
Shreyas Goenka 2024-09-09 14:52:25 +02:00
parent 7c7abeff81
commit d04b6b08ea
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ import (
// TODO: Articulate the consequences of deleting a UC volume in the prompt message that
// is displayed.
// TODO: What sort of interpolation should be allowed at `artifact_path`? Should it be
// ${volumes.foo.id} or ${volumes.foo.name} or something else?
func convertVolumeResource(ctx context.Context, vin dyn.Value) (dyn.Value, error) {
// Normalize the output value to the target schema.
vout, diags := convert.Normalize(schema.ResourceVolume{}, vin)