mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-24 22:39:22 +01:00
handle analysis of image with tag and digest
This commit is contained in:
@@ -21,11 +21,11 @@ func TestValidateImage(t *testing.T) {
|
||||
expectedErr interface{}
|
||||
}{
|
||||
{
|
||||
name: "Test strip digest",
|
||||
name: "Test with digest",
|
||||
image: "myimg@sha256:1234567890abcdef",
|
||||
watchByDef: true,
|
||||
expectedImage: model.Image{
|
||||
Name: "myimg",
|
||||
Name: "myimg@sha256:1234567890abcdef",
|
||||
},
|
||||
expectedErr: nil,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user