summaryrefslogtreecommitdiff
path: root/libvirt/resource_libvirt_domain.go
diff options
context:
space:
mode:
authorThomas Hipp <thomashipp@gmail.com>2017-11-30 10:00:28 +0100
committerGitHub <noreply@github.com>2017-11-30 10:00:28 +0100
commit380076c1943ebd10c5e5f54ad4ac751a736c5c1f (patch)
tree1128ef74185f8d01ff66c81781238b035a1ce3ac /libvirt/resource_libvirt_domain.go
parent3fe13bb19661adfd488ff20d978fbac407e34835 (diff)
parent9c5744cf13b917700a7cf02f780b7749907a4e10 (diff)
downloadterraform-provider-libvirt-380076c1943ebd10c5e5f54ad4ac751a736c5c1f.tar
terraform-provider-libvirt-380076c1943ebd10c5e5f54ad4ac751a736c5c1f.tar.gz
Merge pull request #255 from MalloZup/remove-running
remove running property in net and domain
Diffstat (limited to 'libvirt/resource_libvirt_domain.go')
-rw-r--r--libvirt/resource_libvirt_domain.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/libvirt/resource_libvirt_domain.go b/libvirt/resource_libvirt_domain.go
index 92af802a..95a7b7fe 100644
--- a/libvirt/resource_libvirt_domain.go
+++ b/libvirt/resource_libvirt_domain.go
@@ -79,12 +79,6 @@ func resourceLibvirtDomain() *schema.Resource {
Optional: true,
ForceNew: true,
},
- "running": {
- Type: schema.TypeBool,
- Optional: true,
- Default: true,
- ForceNew: false,
- },
"cloudinit": {
Type: schema.TypeString,
Required: false,
@@ -905,13 +899,6 @@ func resourceLibvirtDomainRead(d *schema.ResourceData, meta interface{}) error {
// Emulator is the same as the default don't set it in domainDef
// or it will show as changed
d.Set("emulator", domainDef.Devices.Emulator)
-
- running, err := domainIsRunning(*domain)
- if err != nil {
- return err
- }
- d.Set("running", running)
-
var disks []map[string]interface{}
for _, diskDef := range domainDef.Devices.Disks {
// network drives do not have a volume associated