rename ServerManagerFromContext from ExtractServerManager

This commit is contained in:
Jakob Schrettenbrunner
2021-01-10 02:18:02 +00:00
parent abeb9655f9
commit c9c949a091
7 changed files with 9 additions and 9 deletions

View File

@@ -323,7 +323,7 @@ func postTransfer(c *gin.Context) {
i.Server().Events().Publish(server.TransferLogsEvent, output)
}
serverManager := ServerManagerFromContext(c)
serverManager := ExtractServerManager(c)
// Mark the server as transferring to prevent problems later on during the process and
// then push the server into the global server collection for this instance.