nilsbu / lastfm

Last.FM tools in Go
1 stars 0 forks source link

partitions that contain a space aren't possible #28

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

https://github.com/nilsbu/lastfm/blob/eb5b15e5bae0ba649a0e9942cff9e58bbbe239ab/pkg/pipeline/pipeline.go#L292


        if err != nil {
            return nil, err
        } else {
            if !partitionContains(partition, split[2]) {
                // TODO partitions that contain a space aren't possible
                return nil, fmt.Errorf("name '%v' is no partition", split[2])
            } else {
                return charts.Subset(parent, partition, charts.KeyTitle(split[2])), nil
github-actions[bot] commented 2 years ago

Closed in c7402697d6d569890c3bdcf477f476456699c49b