Skip to content

Commit

Permalink
💄 improve formatting...
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Nov 19, 2024
1 parent 20c79df commit 3c5aa78
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ import (
// _ "k8s.io/client-go/plugin/pkg/client/auth/gcp"

"errors"
"knative.dev/eventing/pkg/reconciler/integration/source"
"log"
"net/http"
"os"
"time"

"knative.dev/eventing/pkg/reconciler/integration/source"

"knative.dev/pkg/injection/sharedmain"

filteredFactory "knative.dev/pkg/client/injection/kube/informers/factory/filtered"
Expand Down
3 changes: 2 additions & 1 deletion pkg/apis/sources/v1alpha1/integration_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ limitations under the License.
package v1alpha1

import (
"knative.dev/eventing/pkg/apis/common/integration/v1alpha1"
"testing"

"knative.dev/eventing/pkg/apis/common/integration/v1alpha1"
)

func TestIntegrationSource_GetStatus(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/apis/sources/v1alpha1/integration_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ package v1alpha1

import (
"context"
"knative.dev/eventing/pkg/apis/common/integration/v1alpha1"
"testing"

"knative.dev/eventing/pkg/apis/common/integration/v1alpha1"

"github.com/google/go-cmp/cmp"
"knative.dev/pkg/apis"
)
Expand Down
2 changes: 0 additions & 2 deletions pkg/reconciler/integration/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ import (
corev1 "k8s.io/api/core/v1"
)

const prefix = "CAMEL_KAMELET_"

func GenerateEnvVarsFromStruct(prefix string, s interface{}) []corev1.EnvVar {
var envVars []corev1.EnvVar

Expand Down
1 change: 1 addition & 0 deletions pkg/reconciler/integration/source/integrationsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package source
import (
"context"
"fmt"

"knative.dev/eventing/pkg/reconciler/integration/source/resources"

"go.uber.org/zap"
Expand Down

0 comments on commit 3c5aa78

Please sign in to comment.