Skip to content

Commit

Permalink
add ForceBuildMetadata to Image struct in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdstein committed Dec 13, 2021
1 parent 9e16916 commit a16143f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/vela-kaniko/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import "testing"
func TestDocker_Image_Validate(t *testing.T) {
// setup types
i := &Image{
Args: []string{},
Context: ".",
Dockerfile: "Dockerfile",
Target: "",
Args: []string{},
Context: ".",
Dockerfile: "Dockerfile",
Target: "",
ForceBuildMetadata: false,
}

err := i.Validate()
Expand Down

0 comments on commit a16143f

Please sign in to comment.