Skip to content

Commit

Permalink
print arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
archmagece committed Sep 5, 2024
1 parent b2bf910 commit 037791f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/proxy/apt_proxy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func AptProxy(c *gin.Context) {
// Get the data
proxy := config.Proxies[pathOs]
for s, server := range proxy {
fmt.Printf("for moon %s\n", s)
fmt.Printf("for moon %d\n", s)
resp, err := http.Get(helpers.JoinURL(server.URL, requestPath))
if err != nil {
log.Fatal(err)
Expand Down
2 changes: 1 addition & 1 deletion handlers/proxy/maven_proxy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func MavenProxy(c *gin.Context) {
fmt.Println(len(config.Proxies))

for s, server := range config.Proxies {
fmt.Printf("for moon %s\n", s)
fmt.Printf("for moon %d\n", s)
resp, err := http.Get(helpers.JoinURL(server.Url, requestPath))
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 037791f

Please sign in to comment.