mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 03:22: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:
parent
5bf9d1b9da
commit
e10b4b5617
@ -555,7 +555,8 @@ func fileCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return diag.FromErr(err)
|
diags = append(diags, diag.FromErr(err)...)
|
||||||
|
return diags
|
||||||
}
|
}
|
||||||
|
|
||||||
volID, di := fileGetVolumeID(d)
|
volID, di := fileGetVolumeID(d)
|
||||||
|
Loading…
Reference in New Issue
Block a user