k3s/pkg
k8s-merge-robot 1c72ba6810 Merge pull request #29520 from hongchaodeng/serr
Automatic merge from submit-queue

storage error: precondition failure should return invalid object error

In introducing the preconditions by @caesarxuchao , if check preconditions failed, it returns resource version conflict error. This is the wrong error to return, and instead it should return invalid object error. We need to separate these two types of errors.
See the implementation in etcd3 [https://github.com/kubernetes/kubernetes/blob/master/pkg/storage/etcd3/store.go#L467].

Also renaming "ErrCodeResourceVersionConflicts" to "ErrCodeVersionConflicts" for simpler reading.
2016-07-27 22:12:11 -07:00
..
admission Factory for SharedIndexInformers 2016-07-21 14:04:48 +02:00
api Merge pull request #29520 from hongchaodeng/serr 2016-07-27 22:12:11 -07:00
apimachinery Merge pull request #28431 from brendandburns/thirdparty2 2016-07-22 09:41:58 -07:00
apis Add codegen artifacts for kubelet flag 2016-07-21 10:06:17 -04:00
apiserver Removed unnecessary empty line. 2016-07-21 18:07:36 +08:00
auth Merge pull request #28281 from nhlfr/authorize-return-bool 2016-07-18 21:40:26 -07:00
capabilities Use Go canonical import paths 2016-07-16 13:48:21 -04:00
client Merge pull request #28933 from smarterclayton/accept_content_types 2016-07-26 22:56:53 -07:00
cloudprovider Merge pull request #29365 from lixiaobing10051267/masterLen 2016-07-27 02:41:58 -07:00
controller Merge pull request #29544 from lixiaobing10051267/masterFuncNote 2016-07-27 21:07:03 -07:00
conversion Use Go canonical import paths 2016-07-16 13:48:21 -04:00
credentialprovider Merge pull request #28539 from derekwaynecarr/credential_provider_timeout 2016-07-22 18:01:41 -07:00
dns Use Infof/Warningf when appropriate 2016-07-19 12:10:53 -04:00
fieldpath Use Go canonical import paths 2016-07-16 13:48:21 -04:00
fields Use Go canonical import paths 2016-07-16 13:48:21 -04:00
genericapiserver make addition group registration easier 2016-07-25 08:23:24 -04:00
healthz fixes the wrong doc in package healthz 2016-07-18 22:46:09 +08:00
httplog Use Go canonical import paths 2016-07-16 13:48:21 -04:00
hyperkube Use Go canonical import paths 2016-07-16 13:48:21 -04:00
kubectl Merge pull request #29495 from xiangpengzhao/fix-defer-fclose 2016-07-27 19:19:34 -07:00
kubelet Merge pull request #29673 from pmorie/mount-collision 2016-07-27 21:06:47 -07:00
kubemark Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
labels Use Go canonical import paths 2016-07-16 13:48:21 -04:00
master make addition group registration easier 2016-07-25 08:23:24 -04:00
metrics Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
probe pkg/probe/http: don't compare error strings in tests 2016-07-19 11:13:36 -07:00
proxy Use Go canonical import paths 2016-07-16 13:48:21 -04:00
quota Fix bug in node port counting in quota not counting multi-node ports 2016-07-22 13:56:55 -04:00
registry Merge pull request #29518 from hongchaodeng/cleanup 2016-07-25 11:43:36 -07:00
runtime Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
security Merge pull request #29356 from smarterclayton/init_containers 2016-07-27 16:09:34 -07:00
securitycontext Remove pod mutation for PVs with supplemental GIDs 2016-07-22 17:41:44 -04:00
serviceaccount Check for valid serviceaccount JWT token before inspecting claims 2016-07-06 14:25:15 -04:00
ssh Revert "Add a customized ssh dialer that will timeout" 2016-07-14 08:48:24 +02:00
storage storage error: precondition failure should return invalid object error 2016-07-24 20:21:42 -07:00
types Use Go canonical import paths 2016-07-16 13:48:21 -04:00
ui Use Go canonical import paths 2016-07-16 13:48:21 -04:00
util Merge pull request #29266 from xiangpengzhao/fix_defer_close 2016-07-22 05:24:28 -07:00
version Use Go canonical import paths 2016-07-16 13:48:21 -04:00
volume Merge pull request #29673 from pmorie/mount-collision 2016-07-27 21:06:47 -07:00
watch Use Go canonical import paths 2016-07-16 13:48:21 -04:00
OWNERS