Mark server as not transferring after archive failure

This commit is contained in:
Matthew Penner 2021-01-02 10:11:25 -07:00
parent bf554e8ed2
commit d3ddf8cf39

View File

@ -129,6 +129,9 @@ func postServerArchive(c *gin.Context) {
return return
} }
// Mark the server as not being transferred so it can actually be used.
s.SetTransferring(false)
s.Events().Publish(server.TransferStatusEvent, "failure") s.Events().Publish(server.TransferStatusEvent, "failure")
sendTransferLog("Attempting to notify panel of archive failure..") sendTransferLog("Attempting to notify panel of archive failure..")