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 013765f commit ed13788
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 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
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
20 changes: 10 additions & 10 deletions pkg/reconciler/integration/source/resources/containersource.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
Copyright 2024 The Knative Authors
Copyright 2024 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package resources
Expand Down

0 comments on commit ed13788

Please sign in to comment.