Files
3410369ad4 Chore: Update to latest Cortex (#947)
* Chore: Update to latest Cortex

* Fix typos

Signed-off-by: Michel Hollands <[email protected]>

* Use tempo prefix for dns provider registerer

Signed-off-by: Michel Hollands <[email protected]>

Co-authored-by: Michel Hollands <[email protected]>
2021-09-13 11:24:25 -04:00

18 lines
342 B
Go

package flagext
import "fmt"
// StringSlice is a slice of strings that implements flag.Value
type StringSlice []string
// String implements flag.Value
func (v StringSlice) String() string {
return fmt.Sprintf("%s", []string(v))
}
// Set implements flag.Value
func (v *StringSlice) Set(s string) error {
*v = append(*v, s)
return nil
}