Skip to content

Commit

Permalink
fix #1005: fix findings
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro authored and lburgazzoli committed Oct 11, 2019
1 parent d5b0048 commit 465444d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/camel/v1alpha1/integration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ type SourceSpec struct {
Language Language `json:"language,omitempty"`
// Loader is an optional id of the org.apache.camel.k.RoutesLoader that will
// interpret this source at runtime
Loader string `json:"loader,omitempty"`
Loader string `json:"loader,omitempty"`
}

// Language --
Expand Down
3 changes: 1 addition & 2 deletions pkg/trait/dependencies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (

"github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
"github.com/apache/camel-k/pkg/util/test"

"github.com/stretchr/testify/assert"
)

Expand Down Expand Up @@ -204,7 +203,7 @@ func TestIntegrationCustomLoader(t *testing.T) {
Content: "- from:\n uri: direct:foo\n steps:\n - to: log:bar",
},
Language: v1alpha1.LanguageYaml,
Loader: "knative-source-yaml",
Loader: "knative-source-yaml",
},
},
},
Expand Down

0 comments on commit 465444d

Please sign in to comment.