Removed unused logging
This commit is contained in:
		@@ -16,6 +16,7 @@ COPY internal /app/internal/
 | 
				
			|||||||
RUN CGO_ENABLED=1 GOOS=linux go build -o /CatsOfMastodonGo ./cmd/CatsOfMastodonBotGo/main.go
 | 
					RUN CGO_ENABLED=1 GOOS=linux go build -o /CatsOfMastodonGo ./cmd/CatsOfMastodonBotGo/main.go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Deploy the application binary into a lean image
 | 
					# Deploy the application binary into a lean image
 | 
				
			||||||
 | 
					# TODO: Move to alpine
 | 
				
			||||||
FROM gcr.io/distroless/base-debian12 AS build-release-stage
 | 
					FROM gcr.io/distroless/base-debian12 AS build-release-stage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /
 | 
					WORKDIR /
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,7 +47,7 @@ func (g *GiteaOAuth2Handler) GetGiteaUserEmailByCode(code string) (string, error
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	userInfoUrl := g.cfg.GiteaOauthInstance + "/login/oauth/userinfo"
 | 
						userInfoUrl := g.cfg.GiteaOauthInstance + "/login/oauth/userinfo"
 | 
				
			||||||
	g.logger.Info(userInfoUrl)
 | 
						
 | 
				
			||||||
	req, err := http.NewRequest("POST", userInfoUrl, nil)
 | 
						req, err := http.NewRequest("POST", userInfoUrl, nil)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		return "", err
 | 
							return "", err
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user