summaryrefslogtreecommitdiff
path: root/libvirt/resource_libvirt_domain.go
diff options
context:
space:
mode:
authorFlavio Castelli <fcastelli@suse.com>2017-05-26 15:46:22 +0200
committerFlavio Castelli <fcastelli@suse.com>2017-05-26 15:48:06 +0200
commit8aab6118f495e72905a6961672156d49221679aa (patch)
tree27f90ebde66c08b43fbd49ed86672abaf8949cea /libvirt/resource_libvirt_domain.go
parent686015805f14b93e7ef4d6d5a5655ab2b8154b79 (diff)
downloadterraform-provider-libvirt-8aab6118f495e72905a6961672156d49221679aa.tar
terraform-provider-libvirt-8aab6118f495e72905a6961672156d49221679aa.tar.gz
Replace cryptic error with better one
When the remote source was not found the check for its size failed because the size was empty, causing the to integer conversion to fail. The new code ensures the remote file exists before trying to convert its size. Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Diffstat (limited to 'libvirt/resource_libvirt_domain.go')
0 files changed, 0 insertions, 0 deletions