(projectID string, config *storepb.PlanConfig_Spec_ExportDataConfig)
| 1112 | } |
| 1113 | |
| 1114 | func convertToPlanSpecExportDataConfig(projectID string, config *storepb.PlanConfig_Spec_ExportDataConfig) *v1pb.Plan_Spec_ExportDataConfig { |
| 1115 | c := config.ExportDataConfig |
| 1116 | return &v1pb.Plan_Spec_ExportDataConfig{ |
| 1117 | ExportDataConfig: &v1pb.Plan_ExportDataConfig{ |
| 1118 | Targets: c.Targets, |
| 1119 | Sheet: common.FormatSheet(projectID, c.SheetSha256), |
| 1120 | Format: convertExportFormat(c.Format), |
| 1121 | Password: c.Password, |
| 1122 | }, |
| 1123 | } |
| 1124 | } |
| 1125 | |
| 1126 | // planSpecsEqualSet reports whether two spec slices have the same set of |
| 1127 | // specs keyed by id, with each pair byte-equal under proto.Equal. Order |
no test coverage detected