File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -761,18 +761,10 @@ FastlyKVError make_fastly_kv_error(fastly::fastly_kv_error kv_error,
761
761
err.detail = FastlyKVError::detail::bad_request;
762
762
return err;
763
763
}
764
- case KV_ERROR_INTERNAL_ERROR: {
765
- err.detail = FastlyKVError::detail::internal_error;
766
- return err;
767
- }
768
764
case KV_ERROR_NOT_FOUND: {
769
765
err.detail = FastlyKVError::detail::not_found;
770
766
return err;
771
767
}
772
- case KV_ERROR_OK: {
773
- err.detail = FastlyKVError::detail::ok;
774
- return err;
775
- }
776
768
case KV_ERROR_PAYLOAD_TOO_LARGE: {
777
769
err.detail = FastlyKVError::detail::payload_too_large;
778
770
return err;
@@ -785,8 +777,9 @@ FastlyKVError make_fastly_kv_error(fastly::fastly_kv_error kv_error,
785
777
err.detail = FastlyKVError::detail::too_many_requests;
786
778
return err;
787
779
}
788
- case KV_ERROR_UNINITIALIZED: {
789
- err.detail = FastlyKVError::detail::uninitialized;
780
+ case KV_ERROR_INTERNAL_ERROR:
781
+ default : {
782
+ err.detail = FastlyKVError::detail::internal_error;
790
783
return err;
791
784
}
792
785
}
You can’t perform that action at this time.
0 commit comments