Skip to content

Commit

Permalink
fix link when switching to standby mode --autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Keller committed Mar 13, 2017
1 parent d0ed7ea commit 0eb9338
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/main.swift
Expand Up @@ -202,7 +202,6 @@ func main() throws {
var isFirst = true
repeat {
do {
print("Pinging Redunda.")
let response = try sendStatusPing(client: client)
if response.shouldStandby {
shouldStandby = true
Expand Down Expand Up @@ -462,7 +461,7 @@ func main() throws {
let response = try sendStatusPing(client: client)

if response.shouldStandby {
rooms.first!.postMessage("[ [\(botName)]\(githubLink) ] switching to standby mode on \(location).")
rooms.first!.postMessage("[ [\(botName)](\(githubLink)) ] switching to standby mode on \(location).")
backgroundTasks.append(.shutDown(reboot: true, update: false))
backgroundSemaphore.signal()
}
Expand Down

0 comments on commit 0eb9338

Please sign in to comment.