mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
cleaning up
This commit is contained in:
parent
0e097af8d8
commit
a6b781935e
@ -567,15 +567,6 @@ func (s *ConnecterRESTStorage) NewConnectOptions() (runtime.Object, bool, string
|
||||
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 {
|
||||
*SimpleRESTStorage
|
||||
types []string
|
||||
|
Loading…
Reference in New Issue
Block a user