summaryrefslogtreecommitdiff
path: root/pkg/argocd/gitcreds.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/argocd/gitcreds.go')
-rw-r--r--pkg/argocd/gitcreds.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/argocd/gitcreds.go b/pkg/argocd/gitcreds.go
index 20be98e..5dc8e4b 100644
--- a/pkg/argocd/gitcreds.go
+++ b/pkg/argocd/gitcreds.go
@@ -145,7 +145,7 @@ func getCredsFromSecret(wbc *WriteBackConfig, credentialsSecret string, kubeClie
if err != nil {
return nil, fmt.Errorf("invalid value in field githubAppID: %w", err)
}
- intGithubAppInstallationID, _ := strconv.ParseInt(string(githubAppInstallationID), 10, 64)
+ intGithubAppInstallationID, err := strconv.ParseInt(string(githubAppInstallationID), 10, 64)
if err != nil {
return nil, fmt.Errorf("invalid value in field githubAppInstallationID: %w", err)
}