summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 55173f2..e40c6e8 100644
--- a/main.go
+++ b/main.go
@@ -65,7 +65,7 @@ func main() {
loop := me.cluster.DropletsAll() // get the list of droplets
for loop.Scan() {
- d := loop.Droplet()
+ d := loop.Next()
if d == nil {
fmt.Println("d == nil")
os.Exit(-1)