pkg/storage: cleanup Codec() from interface

This commit is contained in:
Hongchao Deng
2016-08-15 16:54:13 -07:00
parent 79ed7064ca
commit a607a69f4a
7 changed files with 8 additions and 20 deletions

View File

@@ -182,9 +182,6 @@ type Interface interface {
// }
// })
GuaranteedUpdate(ctx context.Context, key string, ptrToType runtime.Object, ignoreNotFound bool, precondtions *Preconditions, tryUpdate UpdateFunc) error
// Codec provides access to the underlying codec being used by the implementation.
Codec() runtime.Codec
}
// Config interface allows storage tiers to generate the proper storage.interface