Skip to content

Commit

Permalink
fix(operator): use new RuntimeSpec instead of FunctionSpec
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Jun 7, 2023
1 parent b79f7c4 commit 14a38ce
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 14a38ce

Please sign in to comment.