fix: closing some issues from sonarqube
Some checks failed
Tests / Run Go Tests (push) Failing after 59s
Some checks failed
Tests / Run Go Tests (push) Failing after 59s
This commit is contained in:
@@ -21,9 +21,7 @@ type CompoundDay struct {
|
||||
func (c *CompoundDay) IsSubmittedAndAccepted() bool {
|
||||
var isSubmittedAndAccepted = true
|
||||
for _, day := range c.DayParts {
|
||||
_isSubmittedAndAccepted := day.IsSubmittedAndAccepted()
|
||||
isSubmittedAndAccepted = isSubmittedAndAccepted && _isSubmittedAndAccepted
|
||||
slog.Info("Result from IsSubmittedCheck", "Result", _isSubmittedAndAccepted, "compount", day.ToString())
|
||||
isSubmittedAndAccepted = isSubmittedAndAccepted && day.IsSubmittedAndAccepted()
|
||||
}
|
||||
return isSubmittedAndAccepted
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user