Skip to content

Commit

Permalink
common/redmine fix typos from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo committed Aug 29, 2024
1 parent b522961 commit 04953ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/redmine.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func RedmineCreate(service string, subject string, message string) {
err = os.WriteFile(filePath, issueId, 0644)

if err != nil {
LogError("os.WriteFile error: " + err.Error())
LogError("os.WriteFile error while trying to read '" + filePath + "'" + err.Error())
}
}

Expand Down Expand Up @@ -232,7 +232,7 @@ func RedmineClose(service string, message string) {
// read file
file, err := os.ReadFile(filePath)
if err != nil {
LogError("os.ReadFile error while trying to create '" + filePath + "'" + err.Error())
LogError("os.ReadFile error while trying to read '" + filePath + "'" + err.Error())
}

issueId, err := strconv.Atoi(string(file))
Expand Down

0 comments on commit 04953ca

Please sign in to comment.