Skip to content

Commit cc9358f

Browse files
Fix capella project clean up logic (#110)
1 parent d5ca039 commit cc9358f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deployment/clouddeploy/deployer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1720,7 +1720,7 @@ func (p *Deployer) Cleanup(ctx context.Context) error {
17201720
}
17211721

17221722
for _, project := range projects.Data {
1723-
if !strings.HasPrefix(project.Data.Name, "cbdc2_") && project.Data.ClusterCount == 0 {
1723+
if strings.HasPrefix(project.Data.Name, "cbdc2_") && project.Data.ClusterCount == 0 {
17241724
p.logger.Info("removing project",
17251725
zap.String("project-id", project.Data.ID))
17261726

0 commit comments

Comments
 (0)