for _, collection := range []string{"activities", "sleep"} {
if err := c.Unsubscribe(ctx, collection); err != nil {
errs = append(errs, fmt.Errorf("Unsubscribe(%q) = %v", collection, err))
+ continue
}
log.Infof(ctx, "Successfully unsubscribed from %q", collection)
}