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

@@ -191,7 +191,7 @@ func postServerReinstall(c *gin.Context) {
// Deletes a server from the wings daemon and dissociate it's objects.
func deleteServer(c *gin.Context) {
s := ExtractServer(c)
sm := ServerManagerFromContext(c)
sm := ExtractServerManager(c)
// Immediately suspend the server to prevent a user from attempting
// to start it while this process is running.