apiserver/pkg/endpoints/handlers
Anthony Yeh 9841cf11a1 PATCH: Fix erroneous meaningful conflict for numeric values.
The wrong json package was used, resulting in patches being unmarshaled
with numbers as float64 rather than int64.
This in turn confused HasConflicts() which expects numeric types to match.

The end result was false positives of meaningful conflicts, such as:

```
there is a meaningful conflict (firstResourceVersion: "8517",
currentResourceVersion: "8519"):
 diff1={"metadata":{"resourceVersion":"8519"},"spec":{"replicas":0},"status":{"conditions":null,"fullyLabeledReplicas":null,"replicas":0}}
, diff2={"spec":{"replicas":0}}
```

Kubernetes-commit: 1ab6a33db486adc060e1b63eecbdc06aabdde1f6
2017-04-24 20:36:05 +00:00
..
negotiation autogenerated 2017-04-15 20:35:23 +00:00
responsewriters autogenerated 2017-04-15 20:35:23 +00:00
BUILD autogenerated 2017-04-15 20:35:23 +00:00
discovery.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
namer.go refactor code from restful namer 2017-04-24 20:36:05 +00:00
patch.go Fix original object mutation on patch retry 2017-04-06 20:35:16 +00:00
proxy.go staging/src/*: run gofmt 2017-02-23 09:48:09 -05:00
rest.go PATCH: Fix erroneous meaningful conflict for numeric values. 2017-04-24 20:36:05 +00:00
rest_test.go PATCH: Fix erroneous meaningful conflict for numeric values. 2017-04-24 20:36:05 +00:00
watch.go remove dependency on gorestful for rest handling 2017-04-11 20:35:21 +00:00