Skip to content

Commit

Permalink
vars
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf committed Jan 27, 2025
1 parent 91a78a3 commit 79934d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/controller/component/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,7 @@ func componentVarPodsGetter(ctx context.Context, cli client.Reader,
if err != nil {
return "", err
}
// TODO: what if the component is being deleted?
}

var templates []instanceset.InstanceTemplate
Expand Down Expand Up @@ -1205,7 +1206,7 @@ func resolveComponentVarRefLow(ctx context.Context, cli client.Reader, synthesiz
}
obj := &appsv1.Component{}
err := cli.Get(ctx, key, obj, inDataContext())
return obj, err
return obj, err // TODO: what if the component is being deleted?
}
return resolveReferentObjects(synthesizedComp, objRef, getter)
}
Expand Down

0 comments on commit 79934d0

Please sign in to comment.