mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +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, ""
|
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
Block a user