0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 19:12:59 +00:00

fix(file): display warning if directory is not found (#703)

fix: display warning if directory is not found

Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
DanielHabenicht 2023-11-12 02:52:08 +01:00 committed by GitHub
parent 5bf9d1b9da
commit e10b4b5617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -555,7 +555,8 @@ func fileCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag
}
if err != nil {
return diag.FromErr(err)
diags = append(diags, diag.FromErr(err)...)
return diags
}
volID, di := fileGetVolumeID(d)