Changed logging level
This commit is contained in:
parent
ffcd7da126
commit
4b338924b9
1 changed files with 4 additions and 4 deletions
|
@ -155,7 +155,7 @@ func GetSubmoduleCommits(repoPath string) []SubModuleCommit {
|
||||||
name = strings.TrimSpace(name)
|
name = strings.TrimSpace(name)
|
||||||
|
|
||||||
if len(name) == 0 {
|
if len(name) == 0 {
|
||||||
gitea_log.Info("Submodule skipped because it has no name")
|
gitea_log.Debug("Submodule skipped because it has no name")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ func GetSubmoduleCommits(repoPath string) []SubModuleCommit {
|
||||||
|
|
||||||
// If no commit was found for the module skip it
|
// If no commit was found for the module skip it
|
||||||
if err != nil {
|
if err != nil {
|
||||||
gitea_log.Info("Submodule %s skipped because it has no commit", name)
|
gitea_log.Debug("Submodule %s skipped because it has no commit", name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,14 +175,14 @@ func GetSubmoduleCommits(repoPath string) []SubModuleCommit {
|
||||||
fields := strings.Fields(commit)
|
fields := strings.Fields(commit)
|
||||||
|
|
||||||
if len(fields) == 0 {
|
if len(fields) == 0 {
|
||||||
gitea_log.Info("Submodule %s skipped because it has no valid commit", name)
|
gitea_log.Debug("Submodule %s skipped because it has no valid commit", name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
commit = fields[0]
|
commit = fields[0]
|
||||||
|
|
||||||
if len(commit) != 40 {
|
if len(commit) != 40 {
|
||||||
gitea_log.Info("Submodule %s skipped due to malformed commit hash", name)
|
gitea_log.Debug("Submodule %s skipped due to malformed commit hash", name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue