Skip to content

Commit

Permalink
fix: get isbsvc kind apiversion (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
jy4096 committed Oct 17, 2023
1 parent 74f4d98 commit d34fcc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/apis/v1/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,11 +419,14 @@ func (h *handler) GetInterStepBufferService(c *gin.Context) {
h.respondWithError(c, fmt.Sprintf("Failed to fetch interstepbuffer service %q namespace %q, %s", isbsvcName, ns, err.Error()))
return
}
isbsvc.Kind = dfv1.ISBGroupVersionKind.Kind
isbsvc.APIVersion = dfv1.SchemeGroupVersion.Version

status := ISBServiceStatusHealthy
// TODO(API) : Get the current status of the ISB service

resp := NewISBService(status, isbsvc)

c.JSON(http.StatusOK, NewNumaflowAPIResponse(nil, resp))
}

Expand Down

0 comments on commit d34fcc4

Please sign in to comment.