cleaning up
Kubernetes-commit: a6b781935eb833144c3459f791a3a12cfebc66ee
This commit is contained in:
parent
1f2b2865e4
commit
d7eae80a4e
|
|
@ -567,15 +567,6 @@ func (s *ConnecterRESTStorage) NewConnectOptions() (runtime.Object, bool, string
|
||||||
return s.emptyConnectOptions, false, ""
|
return s.emptyConnectOptions, false, ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type LegacyRESTStorage struct {
|
|
||||||
*SimpleRESTStorage
|
|
||||||
}
|
|
||||||
|
|
||||||
func (storage LegacyRESTStorage) Delete(ctx context.Context, id string) (runtime.Object, error) {
|
|
||||||
obj, _, err := storage.SimpleRESTStorage.Delete(ctx, id, nil)
|
|
||||||
return obj, err
|
|
||||||
}
|
|
||||||
|
|
||||||
type MetadataRESTStorage struct {
|
type MetadataRESTStorage struct {
|
||||||
*SimpleRESTStorage
|
*SimpleRESTStorage
|
||||||
types []string
|
types []string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue