(plan *storepb.PlanConfig)
| 796 | } |
| 797 | |
| 798 | func storePlanConfigHasCreateDatabase(plan *storepb.PlanConfig) bool { |
| 799 | for _, spec := range plan.GetSpecs() { |
| 800 | if _, ok := spec.Config.(*storepb.PlanConfig_Spec_CreateDatabaseConfig); ok { |
| 801 | return true |
| 802 | } |
| 803 | } |
| 804 | return false |
| 805 | } |
| 806 | |
| 807 | // Converters section - ordered with callers before callees. |
| 808 |