Skip to content

Commit 86f6ec3

Browse files
authored
fix: Items type in VolumeUploadSourceList should be VolumeUploadSource (#3879)
Signed-off-by: Jack Yu <[email protected]>
1 parent 84489a4 commit 86f6ec3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

pkg/apis/core/v1beta1/openapi_generated.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1/types.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ type DataSourceRefSourceDataSource struct {
164164
Namespace string `json:"namespace"`
165165
// The name of the source DataSource
166166
Name string `json:"name"`
167-
168167
}
169168

170169
// DataVolumeBlankImage provides the parameters to create a new raw blank image for the PVC
@@ -517,7 +516,7 @@ type DataSourceSource struct {
517516
// +optional
518517
Snapshot *DataVolumeSourceSnapshot `json:"snapshot,omitempty"`
519518
// +optional
520-
DataSource *DataSourceRefSourceDataSource `json:"dataSource,omitempty"`
519+
DataSource *DataSourceRefSourceDataSource `json:"dataSource,omitempty"`
521520
}
522521

523522
// DataSourceStatus provides the most recently observed status of the DataSource
@@ -755,7 +754,7 @@ type VolumeUploadSourceList struct {
755754
metav1.ListMeta `json:"metadata"`
756755

757756
// Items provides a list of DataSources
758-
Items []VolumeImportSource `json:"items"`
757+
Items []VolumeUploadSource `json:"items"`
759758
}
760759

761760
const (

staging/src/kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)