code: func resolveLogDogAnnotations(c context.Context, tagsRaw []string) (*types.StreamAddr, error) {
  	addr, err := resolveLogDogStreamAddrFromTags(swarmingTags(tagsRaw))
  	if err != nil {
  		logging.WithError(err).Debugf(c, "Could not resolve stream address from tags.")
  		return nil, grpcutil.NotFound
  	}
  	return addr, nil
  }
docs: // resolveLogDogAnnotations returns a configured AnnotationStream given the input
  // parameters.
  //
  // This will return a gRPC error on failure.