code: func (d *Deployment) MarkDone(addr string) error {
  	return attempts.Run(func() error {
  		if err := d.update(); err != nil {
  			return err
  		}
  
  		deploymentMeta, err := d.decode(d.meta)
  		if err != nil {
  			return err
  		}
  
  		deploymentMeta.States[addr] = DeploymentStateDone
  
  		return d.set(d.meta, deploymentMeta)
  	})
  }
docs: // MarkDone marks the addr as done in the service metadata