fix golint failures in staging/src/k8s.io/apiserver/pkg/storage/errors, staging/src/k8s.io/apiserver/pkg/storage/etcd

Kubernetes-commit: 11451bbb5912ddc6874eec9e49160708f49778ac
This commit is contained in:
SataQiu 2019-02-28 15:51:05 +08:00 committed by Kubernetes Publisher
parent 74ad4aa47e
commit a180120be2
2 changed files with 2 additions and 2 deletions

View File

@ -14,5 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// Package etcd provides conversion of etcd errors to API errors. // Package storage provides conversion of storage errors to API errors.
package storage // import "k8s.io/apiserver/pkg/storage/errors" package storage // import "k8s.io/apiserver/pkg/storage/errors"

View File

@ -101,7 +101,7 @@ func (a APIObjectVersioner) ParseResourceVersion(resourceVersion string) (uint64
return version, nil return version, nil
} }
// APIObjectVersioner implements Versioner // Versioner implements Versioner
var Versioner storage.Versioner = APIObjectVersioner{} var Versioner storage.Versioner = APIObjectVersioner{}
// CompareResourceVersion compares etcd resource versions. Outside this API they are all strings, // CompareResourceVersion compares etcd resource versions. Outside this API they are all strings,