Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 0061fe4

Browse files
committed
update
1 parent 1f2e5ea commit 0061fe4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

handler/create.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,10 @@ func (handler *Handler) Create(gc *gin.Context) {
337337
}
338338
}
339339

340-
if len(response) == 0 {
340+
if len(pods.Items) == 0 {
341341
response = append(response, IResponse{
342342
Id: id,
343+
Status: "Pending",
343344
})
344345
}
345346
json.NewEncoder(gc.Writer).Encode(response)

0 commit comments

Comments
 (0)