Skip to content

Commit

Permalink
pr review
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl committed Mar 28, 2023
1 parent 7eb7694 commit 6a18c30
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ import (

// KeptnAppCreationRequestSpec defines the desired state of KeptnAppCreationRequest
type KeptnAppCreationRequestSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// AppName is the name of the KeptnApp the KeptnAppCreationRequest should create if no user-defined object with that name is found.
AppName string `json:"appName"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"k8s.io/apimachinery/pkg/runtime"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/log"
)

// KeptnAppCreationRequestReconciler reconciles a KeptnAppCreationRequest object
Expand All @@ -47,8 +46,6 @@ type KeptnAppCreationRequestReconciler struct {
// For more details, check Reconcile and its Result here:
// - https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/reconcile
func (r *KeptnAppCreationRequestReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
_ = log.FromContext(ctx)

return ctrl.Result{}, nil
}

Expand Down
2 changes: 1 addition & 1 deletion test/integration/app-creation-request/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: KeptnAppCreationRequest
metadata:
name: my-kacr
spec:
appName: my-app
appName: my-app
2 changes: 1 addition & 1 deletion test/integration/app-creation-request/00-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: KeptnAppCreationRequest
metadata:
name: my-kacr
spec:
appName: my-app
appName: my-app

0 comments on commit 6a18c30

Please sign in to comment.