mirror of
https://github.com/mudler/luet.git
synced 2025-09-04 16:50:50 +00:00
Use API also when pulling from helpers used in client
This commit is contained in:
@@ -23,6 +23,11 @@ import (
|
||||
)
|
||||
|
||||
var _ = Describe("Helpers", func() {
|
||||
Context("Image names", func() {
|
||||
It("strips invalid chars", func() {
|
||||
Expect(SanitizeImageString("foo+bar")).To(Equal("foo-bar"))
|
||||
})
|
||||
})
|
||||
Context("StripRegistryFromImage", func() {
|
||||
It("Strips the domain name", func() {
|
||||
out := StripRegistryFromImage("valid.domain.org/base/image:tag")
|
||||
|
Reference in New Issue
Block a user