Skip to content

Commit

Permalink
pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
mproffitt committed Oct 30, 2023
1 parent 1838dba commit cc4ef84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/composite/composition.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Composition struct {
DesiredComposed map[resource.Name]*resource.DesiredComposed

// Input is the information brought in from the function binding
Input Input
Input *Input
}

type InputProvider interface {
Expand Down Expand Up @@ -65,7 +65,7 @@ type Input struct {
// }
func New(req *fnv1beta1.RunFunctionRequest, input InputProvider) (c *Composition, err error) {
c = &Composition{
Input: input.(Input),
Input: input.(*Input),
}

if c.DesiredComposite, err = request.GetDesiredCompositeResource(req); err != nil {
Expand Down

0 comments on commit cc4ef84

Please sign in to comment.