Skip to content

Commit 327ae67

Browse files
authored
fix: non versioned types are deprecated (#1764)
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it scheme should default to versioned local blob type name #### Which issue(s) this PR fixes <!-- Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Signed-off-by: Fabian Burth <fabian.burth@sap.com>
1 parent 5cad0cb commit 327ae67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bindings/go/descriptor/v2/scheme.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func init() {
1313
func MustAddToScheme(scheme *runtime.Scheme) {
1414
obj := &LocalBlob{}
1515
scheme.MustRegisterWithAlias(obj,
16-
runtime.NewUnversionedType(LocalBlobAccessType),
1716
runtime.NewVersionedType(LocalBlobAccessType, LocalBlobAccessTypeVersion),
17+
runtime.NewUnversionedType(LocalBlobAccessType),
1818
)
1919
}

0 commit comments

Comments
 (0)