From 8fd1fb43379f0708de9a0059f1e471134966545f Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Mon, 22 Sep 2014 17:05:15 -0700 Subject: [PATCH] update pkg/api documentation --- pkg/watch/json/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/watch/json/types.go b/pkg/watch/json/types.go index 8851a09601f..0969abe8e89 100644 --- a/pkg/watch/json/types.go +++ b/pkg/watch/json/types.go @@ -33,6 +33,7 @@ type watchEvent struct { // For added or modified objects, this is the new object; for deleted objects, // it's the state of the object immediately prior to its deletion. + // For errors, it's an api.Status. Object runtime.RawExtension `json:"object,omitempty" yaml:"object,omitempty"` }