Skip to content

Commit 414173c

Browse files
committed
chore: fix for loop in Slack status check
1 parent beef019 commit 414173c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ func main() {
147147
isOnHoliday = true
148148
break
149149
}
150+
}
150151

151-
if isOnHoliday {
152-
logrus.WithField("slack_name", slackUser.Name).Warn("skipping user since he/she is on holiday")
153-
continue
154-
}
152+
if isOnHoliday {
153+
logrus.WithField("slack_name", slackUser.Name).Warn("skipping user since he/she is on holiday")
154+
continue
155155
}
156156
}
157157

0 commit comments

Comments
 (0)