Probably breaks everything, lowercase pterodactyl

This commit is contained in:
Dane Everitt
2018-02-20 13:33:32 -06:00
parent 3f07cdb4c0
commit bacdfae768
19 changed files with 124 additions and 69 deletions

View File

@@ -8,7 +8,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/spf13/viper"
"github.com/Pterodactyl/wings/config"
"github.com/pterodactyl/wings/config"
)
type InternalAPI struct {

View File

@@ -3,9 +3,9 @@ package api
import (
"net/http"
"github.com/Pterodactyl/wings/config"
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/config"
"github.com/pterodactyl/wings/control"
log "github.com/sirupsen/logrus"
)

View File

@@ -8,8 +8,8 @@ import (
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
"github.com/Pterodactyl/wings/config"
"github.com/Pterodactyl/wings/control"
"github.com/pterodactyl/wings/config"
"github.com/pterodactyl/wings/control"
)
const configFile = "_testdata/config.yml"

View File

@@ -4,8 +4,8 @@ import (
"net/http"
"runtime"
"github.com/Pterodactyl/wings/constants"
"github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/constants"
"github.com/shirou/gopsutil/cpu"
"github.com/shirou/gopsutil/host"
"github.com/shirou/gopsutil/mem"

View File

@@ -3,8 +3,8 @@ package api
import (
"net/http"
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/control"
log "github.com/sirupsen/logrus"
)

View File

@@ -8,8 +8,8 @@ import (
"net/http/httptest"
"testing"
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/control"
"github.com/stretchr/testify/assert"
)

View File

@@ -1,8 +1,8 @@
package api
import (
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/control"
)
func getServerFromContext(context *gin.Context) control.Server {