Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. jhonce@jhonce-t440s:origin (rebase_kube *)$ git diff
  2. diff --git i/pkg/build/api/register.go w/pkg/build/api/register.go
  3. index 4d7cf3c..c2cc406 100644
  4. --- i/pkg/build/api/register.go
  5. +++ w/pkg/build/api/register.go
  6. @@ -10,6 +10,7 @@ func init() {
  7. &BuildList{},
  8. &BuildConfig{},
  9. &BuildConfigList{},
  10. + &BuildLog{},
  11. )
  12. }
  13.  
  14. @@ -17,3 +18,4 @@ func (*Build) IsAnAPIObject() {}
  15. func (*BuildList) IsAnAPIObject() {}
  16. func (*BuildConfig) IsAnAPIObject() {}
  17. func (*BuildConfigList) IsAnAPIObject() {}
  18. +func (*BuildLog) IsAnAPIObject() {}
  19. diff --git i/pkg/build/api/types.go w/pkg/build/api/types.go
  20. index 84b206d..f810f22 100644
  21. --- i/pkg/build/api/types.go
  22. +++ w/pkg/build/api/types.go
  23. @@ -329,3 +329,5 @@ type GitInfo struct {
  24. GitBuildSource `json:",inline"`
  25. GitSourceRevision `json:",inline"`
  26. }
  27. +
  28. +type BuildLog struct{}
  29. diff --git i/pkg/build/registry/buildlog/rest.go w/pkg/build/registry/buildlog/rest.go
  30. index b4e7b37..a745562 100644
  31. --- i/pkg/build/registry/buildlog/rest.go
  32. +++ w/pkg/build/registry/buildlog/rest.go
  33. @@ -99,7 +99,7 @@ func (r *REST) Get(ctx kapi.Context, id string) (runtime.Object, error) {
  34. }
  35.  
  36. func (r *REST) New() runtime.Object {
  37. - return nil
  38. + return &api.BuildLog{}
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement