Skip to content

adds modelcase wrapper to API Integration requestParameters #1310

adds modelcase wrapper to API Integration requestParameters

adds modelcase wrapper to API Integration requestParameters #1310

Triggered via push November 16, 2023 16:07
Status Failure
Total duration 1m 49s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: pkg/engine2/enginetesting/mock_kb.go#L1
: # github.com/klothoplatform/klotho/pkg/engine2/enginetesting
lint: pkg/engine2/enginetesting/test_solution.go#L40
cannot use &sol.KB (value of type *MockKB) as knowledgebase2.TemplateKB value in return statement: *MockKB does not implement knowledgebase2.TemplateKB (missing method GetPathSatisfactionsFromEdge)
lint: pkg/engine2/enginetesting/test_solution.go#L58
cannot use testOperationalView{…} (value of type testOperationalView) as solution_context.OperationalView value in return statement: testOperationalView does not implement solution_context.OperationalView (missing method MakeEdgesOperational) (typecheck)
lint: pkg/engine2/constraints_test.go#L9
could not import github.com/klothoplatform/klotho/pkg/engine2/enginetesting (-: # github.com/klothoplatform/klotho/pkg/engine2/enginetesting
lint: pkg/engine2/enginetesting/test_solution.go#L40
cannot use &sol.KB (value of type *MockKB) as knowledgebase2.TemplateKB value in return statement: *MockKB does not implement knowledgebase2.TemplateKB (missing method GetPathSatisfactionsFromEdge)
lint: pkg/engine2/enginetesting/test_solution.go#L58
cannot use testOperationalView{…} (value of type testOperationalView) as solution_context.OperationalView value in return statement: testOperationalView does not implement solution_context.OperationalView (missing method MakeEdgesOperational)) (typecheck)
lint: pkg/engine2/construct_expansion/construct_expansion_test.go#L8
could not import github.com/klothoplatform/klotho/pkg/engine2/enginetesting (-: # github.com/klothoplatform/klotho/pkg/engine2/enginetesting
lint: pkg/engine2/enginetesting/test_solution.go#L40
cannot use &sol.KB (value of type *MockKB) as knowledgebase2.TemplateKB value in return statement: *MockKB does not implement knowledgebase2.TemplateKB (missing method GetPathSatisfactionsFromEdge)
lint: pkg/engine2/enginetesting/test_solution.go#L58
cannot use testOperationalView{…} (value of type testOperationalView) as solution_context.OperationalView value in return statement: testOperationalView does not implement solution_context.OperationalView (missing method MakeEdgesOperational)) (typecheck)
lint: pkg/engine2/construct_expansion/construct_expansion.go#L85
undefined: construct.CreateResource (typecheck)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/