improvements from autogenpb

This commit is contained in:
Jeff Carr 2024-12-04 02:24:56 -06:00
parent f45dacfcaf
commit 7681e131d3
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func (h *HyperT) start(d *pb.Droplet) (bool, string) {
func findDroplet(name string) *pb.Droplet {
loop := me.cluster.DropletsAll() // get the list of droplets
for loop.Scan() {
d := loop.Droplet()
d := loop.Next()
if d.Hostname == name {
return d
}