Skip to content

Commit

Permalink
no warings for code deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Mar 6, 2024
1 parent 6ba042a commit 0433d3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ecspresso.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ func (d *App) newServiceFromTypes(ctx context.Context, in types.Service) (*Servi
dps := lo.Filter(in.Deployments, func(dp types.Deployment, i int) bool {
return aws.ToString(dp.Status) == "PRIMARY"
})
if sv.isCodeDeploy() {
// CodeDeploy does not support ServiceConnectConfiguration and VolumeConfigurations
return &sv, nil
}
if len(dps) == 0 {
d.Log("[WARNING] no primary deployment")
return &sv, nil
Expand Down

0 comments on commit 0433d3e

Please sign in to comment.