From b50136ff8132dbb9cab9cfb4485763eeb0ae31fc Mon Sep 17 00:00:00 2001
From: Igor Bazhitov <ibazhitov@virtuozzo.com>
Date: Fri, 7 Jul 2017 12:14:06 +0300
Subject: [PATCH] docs: mention temporary workaround for #92

TODO: revert this commit when #92 is fixed.
---
 docs/adding_custom_rest.md | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/docs/adding_custom_rest.md b/docs/adding_custom_rest.md
index a44ae1d722..092f996b12 100644
--- a/docs/adding_custom_rest.md
+++ b/docs/adding_custom_rest.md
@@ -23,8 +23,15 @@ type Foo struct {
     // Your resource definition here
 }
 
-// Custom REST storage
+// Initialize custom REST storage
 func NewFooREST() rest.Storage {
-    // Your rest.Storage implementation here
+    // Initialize fields of custom REST implementation
 }
-```
\ No newline at end of file
+
+// Your rest.Storage implementation below
+// ...
+```
+
+**Warning:** NewFooREST() should not contain any non-trivial logic, besides
+simply initializing the fields of the struct, that represents the custom REST.
+See [this issue](https://github.com/kubernetes-incubator/apiserver-builder/issues/92) for details.