Skip to content

Commit d4aa89b

Browse files
committed
lint
1 parent 5dbf71e commit d4aa89b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

agent/containers_dockercli.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ func convertDockerInspect(in dockerInspect) codersdk.WorkspaceAgentContainer {
146146

147147
// convertDockerPort converts a Docker port string to a port number and network
148148
// example: "8080/tcp" -> 8080, "tcp"
149+
//
149150
// "8080" -> 8080, "tcp"
150151
func convertDockerPort(in string) (uint16, string, error) {
151152
parts := strings.Split(in, "/")
@@ -172,6 +173,7 @@ func convertDockerPort(in string) (uint16, string, error) {
172173
// container path. If the host path is not specified, the container path is used
173174
// as the host path.
174175
// example: "/host/path=/container/path" -> "/host/path", "/container/path"
176+
//
175177
// "/container/path" -> "/container/path", "/container/path"
176178
func convertDockerVolume(in string) (hostPath, containerPath string) {
177179
parts := strings.Split(in, "=")

coderd/coderd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,8 +1211,8 @@ func New(options *Options) *API {
12111211
r.Get("/logs", api.workspaceAgentLogs)
12121212
r.Get("/listening-ports", api.workspaceAgentListeningPorts)
12131213
r.Get("/connection", api.workspaceAgentConnection)
1214-
r.Get("/coordinate", api.workspaceAgentClientCoordinate)
12151214
r.Get("/containers", api.workspaceAgentListContainers)
1215+
r.Get("/coordinate", api.workspaceAgentClientCoordinate)
12161216

12171217
// PTY is part of workspaceAppServer.
12181218
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy