Skip to content

Commit

Permalink
Remove extraneous newline
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Feb 20, 2025
1 parent ad7454d commit 38964e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flytepropeller/pkg/controller/nodes/attr_path_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,12 @@ func resolveAttrPathInBinary(nodeID string, binaryIDL *core.Binary, bindAttrPath
}

// Check if the current value is a primitive type, and if it is convert that to a literal scalar

if isPrimitiveType(currVal) {
primitiveLiteral, err := convertInterfaceToLiteralScalar(nodeID, currVal)
if err != nil {
return nil, err
}

Check warning on line 192 in flytepropeller/pkg/controller/nodes/attr_path_resolver.go

View check run for this annotation

Codecov / codecov/patch

flytepropeller/pkg/controller/nodes/attr_path_resolver.go#L191-L192

Added lines #L191 - L192 were not covered by tests
if primitiveLiteral != nil {
// wrap this in a core.literal
return &core.Literal{
Value: primitiveLiteral,
}, nil
Expand Down

0 comments on commit 38964e9

Please sign in to comment.