accidentally sending things to stdout
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
71e0065240
commit
638539c840
1
dump.go
1
dump.go
|
@ -32,7 +32,6 @@ func dumpDroplets(w http.ResponseWriter, full bool) {
|
||||||
loop := me.cluster.DropletsAll() // get the list of droplets
|
loop := me.cluster.DropletsAll() // get the list of droplets
|
||||||
for loop.Scan() {
|
for loop.Scan() {
|
||||||
d := loop.Droplet()
|
d := loop.Droplet()
|
||||||
fmt.Println(w, "Droplet UUID:", d.Uuid)
|
|
||||||
|
|
||||||
// this line in golang could replace 80 lines of COBOL
|
// this line in golang could replace 80 lines of COBOL
|
||||||
header := d.SprintDumpHeader() + " "
|
header := d.SprintDumpHeader() + " "
|
||||||
|
|
Loading…
Reference in New Issue