code: func UncompressLog(log string) (_ io.ReadCloser, retErr error) {
  	if !strings.HasSuffix(log, compressSuffix) {
  		return nil, fmt.Errorf("log is not compressed")
  	}
  	f, err := os.Open(log)
  	if err != nil {
  		return nil, fmt.Errorf("failed to open log: %v", err)
  	}
  	defer func() {
  		if retErr != nil {
  			f.Close()
  		}
  	}()
  	r, err := gzip.NewReader(f)
  	if err != nil {
  		return nil, fmt.Errorf("failed to create gzip reader: %v", err)
  	}
  	return &compressReadCloser{f: f, Reader: r}, nil
  }
docs: // UncompressLog compresses a compressed log and return a readcloser for the
  // stream of the uncompressed content.
  // TODO(#59902): Leverage this function to support log rotation in `kubectl logs`.