Skip to content

Commit

Permalink
Merge pull request #347 from linkernetworks/johnlin/pagesize-1024
Browse files Browse the repository at this point in the history
[Bug] page size to 1024
  • Loading branch information
John-Lin authored Oct 11, 2018
2 parents 2a68020 + e71d3c7 commit 4f77dab
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/server/handler_configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func deleteConfigMapHandler(ctx *web.Context) {
func listConfigMapHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func deleteDeploymentHandler(ctx *web.Context) {
func listDeploymentHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func deleteNamespaceHandler(ctx *web.Context) {
func listNamespaceHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func createNetworkHandler(ctx *web.Context) {
func listNetworkHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func deletePodFromClusterHandler(ctx *web.Context) {
func listPodHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func deleteServiceHandler(ctx *web.Context) {
func listServiceHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func createStorage(ctx *web.Context) {
func listStorage(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func deleteUserHandler(ctx *web.Context) {
func listUserHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down
2 changes: 1 addition & 1 deletion src/server/handler_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func deleteVolumeHandler(ctx *web.Context) {
func listVolumeHandler(ctx *web.Context) {
sp, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response

var pageSize = 10
var pageSize = 1024
query := query.New(req.Request.URL.Query())

page, err := query.Int("page", 1)
Expand Down

0 comments on commit 4f77dab

Please sign in to comment.