(plan *storepb.PlanConfig)
| 785 | } |
| 786 | |
| 787 | func storePlanConfigHasRelease(plan *storepb.PlanConfig) bool { |
| 788 | for _, spec := range plan.GetSpecs() { |
| 789 | if c, ok := spec.Config.(*storepb.PlanConfig_Spec_ChangeDatabaseConfig); ok { |
| 790 | if c.ChangeDatabaseConfig.Release != "" { |
| 791 | return true |
| 792 | } |
| 793 | } |
| 794 | } |
| 795 | return false |
| 796 | } |
| 797 | |
| 798 | func storePlanConfigHasCreateDatabase(plan *storepb.PlanConfig) bool { |
| 799 | for _, spec := range plan.GetSpecs() { |
no test coverage detected