Skip to content

Commit 5fb695a

Browse files
committed
toSquash
1 parent cc82fde commit 5fb695a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

pkg/proposal/controller.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ func (c *Controller) Sync(ctx context.Context, key string) error {
7070
klog.Errorf("Error getting available updates: %v", err)
7171
return err
7272
}
73-
klog.Infof("Got available updates: %#v", updates)
74-
klog.Infof("Got available updates: %#v", conditionalUpdates)
73+
klog.V(i.Debug).Infof("Got available updates: %#v", updates)
74+
klog.V(i.Debug).Infof("Got conditional updates: %#v", conditionalUpdates)
7575

7676
proposals := getProposals(updates, conditionalUpdates)
7777

@@ -89,12 +89,12 @@ func (c *Controller) Sync(ctx context.Context, key string) error {
8989
}
9090

9191
// TODO: make it real
92-
func getProposals(updates []configv1.Release, conditionalUpdates []configv1.ConditionalUpdate) []*proposalv1alpha1.Proposal {
92+
func getProposals(_ []configv1.Release, _ []configv1.ConditionalUpdate) []*proposalv1alpha1.Proposal {
9393
return []*proposalv1alpha1.Proposal{
9494
{
9595
ObjectMeta: metav1.ObjectMeta{
96-
Name: controllerName,
97-
Namespace: metav1.NamespaceAll,
96+
Name: "test-proposal",
97+
Namespace: i.DefaultCVONamespace,
9898
},
9999
// Feed required fields only to pass API server validation
100100
// The workflow does not exist but that should cause no trouble because no controller watches it before lightspeed-operator is installed on the cluster

0 commit comments

Comments
 (0)