Files
sablier/pkg/provider/docker/format.go
2024-12-07 12:11:31 -05:00

9 lines
191 B
Go

package docker
import "strings"
// FormatName removes the container name `/` prefix returned by the Docker API
func FormatName(name string) string {
return strings.TrimPrefix(name, "/")
}