Template); err != nil {   logrus.Debugf("Failed to init find objects: %s", err.Error())   return nil, err  }  obj, _, err := ctx.FindObjects(session, 0)  if err != nil {   logrus.Debugf("Failed to find objects: %v", err)   return nil, err  }  if err = ctx.FindObjectsFinal(session); err != nil {   logrus.Debugf("Failed to finalize find objects: %s", err.Error())   return nil, err  }  