Skip to content

Commit

Permalink
fix(operator): use new RuntimeSpec instead of FunctionSpec (keptn#1529)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT authored and StackScribe committed Jun 19, 2023
1 parent cd62510 commit 673ca33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func TestKeptnTaskDefinition_ValidateFields(t *testing.T) {

specWithFunctionAndContainer := KeptnTaskDefinitionSpec{
Function: &FunctionSpec{},
Function: &RuntimeSpec{},
Container: &ContainerSpec{},
}

Expand Down Expand Up @@ -59,7 +59,7 @@ func TestKeptnTaskDefinition_ValidateFields(t *testing.T) {
{
name: "with-function-only",
spec: KeptnTaskDefinitionSpec{
Function: &FunctionSpec{},
Function: &RuntimeSpec{},
},
verb: "create",
},
Expand Down

0 comments on commit 673ca33

Please sign in to comment.