summaryrefslogtreecommitdiff
path: root/dump.go
diff options
context:
space:
mode:
Diffstat (limited to 'dump.go')
-rw-r--r--dump.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/dump.go b/dump.go
index 78f125a..7c6e1bd 100644
--- a/dump.go
+++ b/dump.go
@@ -53,6 +53,13 @@ func dumpDroplets(w http.ResponseWriter, full bool) {
fmt.Fprintln(w, header, "(should be on). todo: start() here")
continue
}
+
+ if d.LocalOnly != "" {
+ // this is supposed to be ON and needs to be turned on
+ fmt.Fprintln(w, header, "this libvirt/domain/xml needs to be imported")
+ continue
+ }
+
if full {
var filenames string
for _, disk := range d.Disks {