Skip to content

Commit

Permalink
fix: minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mogenius git-user committed Apr 4, 2024
1 parent cd1699e commit 5aa0f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion operator/routes-workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ func createDaemonSet(c *gin.Context) {
// @Param string header string true "X-Context-Id"
func allStatefulSets(c *gin.Context) {
namespace := c.Query("namespace")
utils.HttpRespondForWorkloadResult(c, kubernetes.AllStatefulSets(namespace, services.GetGinContextId(c)))
utils.HttpRespondForWorkloadResult(c, kubernetes.AllK8sStatefulSets(namespace, services.GetGinContextId(c)))
}

// @Tags Workloads
Expand Down
1 change: 1 addition & 0 deletions structs/datagram.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type Datagram struct {
Id string `json:"id" validate:"required"`
Pattern string `json:"pattern" validate:"required"`
Payload interface{} `json:"payload,omitempty"`
Username string `json:"username,omitempty"`
Err string `json:"err,omitempty"`
CreatedAt time.Time `json:"-"`
}
Expand Down

0 comments on commit 5aa0f55

Please sign in to comment.