Migrate ECS client to aws-sdk-go-v2 in ecs-agent module #9641
Annotations
5 errors and 1 warning
run static checks
cannot use ecsClient (variable of type *"github.com/aws/amazon-ecs-agent/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/api/ecs/model/ecs".ECS) as "github.com/aws/amazon-ecs-agent/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/api/ecs".ECSTaskProtectionSDK value in return statement: *"github.com/aws/amazon-ecs-agent/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/api/ecs/model/ecs".ECS does not implement "github.com/aws/amazon-ecs-agent/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/api/ecs".ECSTaskProtectionSDK (wrong type for method GetTaskProtection)
|
run static checks
cannot use commonutils.Uint16SliceToStringSlice(tcpPortSet) (value of type []string) as []*string value in struct literal
|
run static checks
cannot use commonutils.Uint16SliceToStringSlice(udpPortSet) (value of type []string) as []*string value in struct literal
|
run static checks
cannot use factory (variable of type *MockTaskProtectionClientFactoryInterface) as TaskProtectionClientFactoryInterface value in argument to GetTaskProtectionHandler: *MockTaskProtectionClientFactoryInterface does not implement TaskProtectionClientFactoryInterface (wrong type for method NewTaskProtectionClient)
|
run static checks
Process completed with exit code 2.
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/amazon-ecs-agent/amazon-ecs-agent. Supported file pattern: go.sum
|
Loading