Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
志宇 committed Feb 25, 2020
1 parent 69dab69 commit ec482bc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion pkg/hypervisor/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"time"

"github.com/SkycoinProject/dmsg/cipher"

"github.com/SkycoinProject/dmsg/httputil"

"github.com/SkycoinProject/skywire-mainnet/internal/skyenv"
Expand Down
3 changes: 1 addition & 2 deletions pkg/hypervisor/hypervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"github.com/google/uuid"

"github.com/SkycoinProject/skywire-mainnet/internal/skyenv"

"github.com/SkycoinProject/skywire-mainnet/pkg/app"
"github.com/SkycoinProject/skywire-mainnet/pkg/routing"
"github.com/SkycoinProject/skywire-mainnet/pkg/visor"
Expand Down Expand Up @@ -158,7 +157,7 @@ func (m *Hypervisor) ServeHTTP(w http.ResponseWriter, req *http.Request) {
r.Get("/visors/{pk}", m.getVisor())
r.Get("/visors/{pk}/health", m.getHealth())
r.Get("/visors/{pk}/uptime", m.getUptime())
r.Get("/visors/{pk}/pty", nil)
r.Get("/visors/{pk}/pty", m.getPty())
r.Get("/visors/{pk}/apps", m.getApps())
r.Get("/visors/{pk}/apps/{app}", m.getApp())
r.Put("/visors/{pk}/apps/{app}", m.putApp())
Expand Down
1 change: 0 additions & 1 deletion pkg/visor/visor.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"github.com/SkycoinProject/skycoin/src/util/logging"

"github.com/SkycoinProject/skywire-mainnet/internal/skyenv"

"github.com/SkycoinProject/skywire-mainnet/pkg/app/appcommon"
"github.com/SkycoinProject/skywire-mainnet/pkg/app/appnet"
"github.com/SkycoinProject/skywire-mainnet/pkg/app/appserver"
Expand Down

0 comments on commit ec482bc

Please sign in to comment.