Skip to content

Commit

Permalink
Merge pull request #254 from heckenmann/dependabot/go_modules/server-…
Browse files Browse the repository at this point in the history
…src/github.com/docker/docker-23.0.3incompatible

Bump github.com/docker/docker from 23.0.2+incompatible to 23.0.3+incompatible in /server-src
  • Loading branch information
heckenmann authored Jun 8, 2023
2 parents 6714772 + 66990c0 commit c69161a
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qodana-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2022.3.4
uses: JetBrains/qodana-action@v2023.1.0
with:
pr-mode: false
env:
Expand Down
2 changes: 1 addition & 1 deletion server-src/dashboardhhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type SimpleService struct {
}

// Serves datamodel for horizontal dashboard.
func dashboardHHandler(w http.ResponseWriter, r *http.Request) {
func dashboardHHandler(w http.ResponseWriter, _ *http.Request) {
result := DashboardH{}
cli := getCli()
services, _ := cli.ServiceList(context.Background(), types.ServiceListOptions{})
Expand Down
2 changes: 1 addition & 1 deletion server-src/dashboardvhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type ServiceLine struct {
}

// Serves datamodel for vertical dashboard.
func dashboardVHandler(w http.ResponseWriter, r *http.Request) {
func dashboardVHandler(w http.ResponseWriter, _ *http.Request) {
result := DashboardV{}
cli := getCli()
nodes, _ := cli.NodeList(context.Background(), types.NodeListOptions{})
Expand Down
2 changes: 1 addition & 1 deletion server-src/dockernodeshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

// Serves the nodes
func dockerNodesHandler(w http.ResponseWriter, r *http.Request) {
func dockerNodesHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
Nodes, err := cli.NodeList(context.Background(), types.NodeListOptions{})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion server-src/dockerservicelogshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
var (
upgrader = websocket.Upgrader{
EnableCompression: true,
CheckOrigin: func(r *http.Request) bool {
CheckOrigin: func(_ *http.Request) bool {
return true
}}
)
Expand Down
2 changes: 1 addition & 1 deletion server-src/dockerserviceshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

// Serves the services
func dockerServicesHandler(w http.ResponseWriter, r *http.Request) {
func dockerServicesHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
Services, err := cli.ServiceList(context.Background(), types.ServiceListOptions{})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion server-src/dockertaskshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

// Serves the tasks
func dockerTasksHandler(w http.ResponseWriter, r *http.Request) {
func dockerTasksHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
Tasks, err := cli.TaskList(context.Background(), types.TaskListOptions{})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion server-src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module heckenmann.de/docker-swarm-dashboard/v2
go 1.20

require (
github.com/docker/docker v23.0.2+incompatible
github.com/docker/docker v23.0.3+incompatible
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.5.0
Expand Down
4 changes: 2 additions & 2 deletions server-src/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6bk8XXApsHjKukMl68=
github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/docker v23.0.2+incompatible h1:q81C2qQ/EhPm8COZMUGOQYh4qLv4Xu6CXELJ3WK/mlU=
github.com/docker/docker v23.0.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/docker v23.0.3+incompatible h1:9GhVsShNWz1hO//9BNg/dpMnZW25KydO4wtVxWAIbho=
github.com/docker/docker v23.0.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ=
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
Expand Down
2 changes: 1 addition & 1 deletion server-src/logshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type LogsHandlerSimpleService struct {
Name string
}

func logsServicesHandler(w http.ResponseWriter, r *http.Request) {
func logsServicesHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
services, _ := cli.ServiceList(context.Background(), types.ServiceListOptions{})

Expand Down
2 changes: 1 addition & 1 deletion server-src/nodeshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type NodesHandlerSimpleNode struct {
Message string
}

func nodesHandler(w http.ResponseWriter, r *http.Request) {
func nodesHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
nodes, _ := cli.NodeList(context.Background(), types.NodeListOptions{})

Expand Down
2 changes: 1 addition & 1 deletion server-src/portshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type PortsHandlerSimplePort struct {
ServiceID string
}

func portsHandler(w http.ResponseWriter, r *http.Request) {
func portsHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
services, _ := cli.ServiceList(context.Background(), types.ServiceListOptions{})

Expand Down
2 changes: 1 addition & 1 deletion server-src/stackshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type StacksHandlerSimpleStack struct {
Services []StackSimpleService
}

func stacksHandler(w http.ResponseWriter, r *http.Request) {
func stacksHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
services, _ := cli.ServiceList(context.Background(), types.ServiceListOptions{})

Expand Down
2 changes: 1 addition & 1 deletion server-src/taskshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type TasksHandlerSimpleTask struct {
Err string
}

func tasksHandler(w http.ResponseWriter, r *http.Request) {
func tasksHandler(w http.ResponseWriter, _ *http.Request) {
cli := getCli()
tasks, _ := cli.TaskList(context.Background(), types.TaskListOptions{})

Expand Down

0 comments on commit c69161a

Please sign in to comment.