Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lyondhill committed Apr 7, 2017
1 parent 5453509 commit ecda613
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ func migrationCheck() {
os.Unsetenv("DOCKER_HOST")
os.Unsetenv("DOCKER_CERT_PATH")


if err := proc_provider.Init(); err != nil {
os.Exit(0)
}
Expand Down
2 changes: 1 addition & 1 deletion processors/env/share/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// Add adds a share share to the workstation
func Add(path string) error {

// since we dont
// since we dont
// // short-circuit if the entry already exist
// if share.Exists(path) {
// return nil
Expand Down
4 changes: 2 additions & 2 deletions processors/run.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package processors

import (
"time"
"runtime"
"time"

"github.com/jcelliott/lumber"
"github.com/nanobox-io/golang-docker-client"
Expand Down Expand Up @@ -175,7 +175,7 @@ func watchFiles(envModel *models.Env, appModel *models.App) {
}

// TEMP: this is added because osxfs on native doesnt propigate file changes
// this will be removed when osxfs gets better or we switch native on osx to
// this will be removed when osxfs gets better or we switch native on osx to
// use nfs
func specialException() bool {
config, _ := models.LoadConfig()
Expand Down
1 change: 0 additions & 1 deletion util/provider/share/share_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ func (sh *ShareRPC) Add(req Request, resp *Response) error {
if !(strings.Contains(line, req.Path+" ") || strings.Contains(line, req.Path+"\" ")) {
lines[i] = fmt.Sprintf("\"%s\" %s", req.Path, line)
}


lines[i] = cleanLine(lines[i], lineCheck)
found = true
Expand Down
2 changes: 1 addition & 1 deletion util/provider/share/share_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func Exists(path string) bool {

// Add exports a cifs share
func Add(path string) error {

// on windows we dont want to try adding more then once
if Exists(path) {
return nil
Expand Down

0 comments on commit ecda613

Please sign in to comment.