diff --git a/pkg/app/piped/platformprovider/ecs/client.go b/pkg/app/piped/platformprovider/ecs/client.go index 178dca1f4b..6598b93af5 100644 --- a/pkg/app/piped/platformprovider/ecs/client.go +++ b/pkg/app/piped/platformprovider/ecs/client.go @@ -176,6 +176,7 @@ func (c *client) RegisterTaskDefinition(ctx context.Context, taskDefinition type NetworkMode: taskDefinition.NetworkMode, Volumes: taskDefinition.Volumes, RuntimePlatform: taskDefinition.RuntimePlatform, + EphemeralStorage: taskDefinition.EphemeralStorage, // Requires defined at task level in case Fargate is used. Cpu: taskDefinition.Cpu, Memory: taskDefinition.Memory, diff --git a/web/src/api/client.ts b/web/src/api/client.ts index 88cfe71a71..d8474b0a87 100644 --- a/web/src/api/client.ts +++ b/web/src/api/client.ts @@ -7,7 +7,7 @@ export const apiClient = new WebServiceClient(apiEndpoint, null, { }); interface ApiCallback { - (err: grpcWeb.Error, response: { toObject: () => Res }): void; + (err: grpcWeb.RpcError, response: { toObject: () => Res }): void; } export async function apiRequest(