Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Commit

Permalink
Fix ns-enter stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
manuquentin committed Jul 22, 2014
1 parent 6115cab commit 31c1a09
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.2
- 1.2.1

script:
- go get code.google.com/p/go.tools/cmd/goimports
Expand Down
2 changes: 1 addition & 1 deletion docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func Enter(name string) {

util.Debug("Run command:", enterCmd.Args)

if err := enterCmd.Start(); err != nil {
if err := enterCmd.Run(); err != nil {
util.LogError(err)
}
}
Expand Down
18 changes: 6 additions & 12 deletions examples/ns-enter/.gaudi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,10 @@ applications:
ports:
11211: 11211

# redis:
# type: remote
# image: gary/redis
# path: github.com/manuquentin/docker-redis
# ports:
# 6379: 6379

redis:
type: github
image: gary/redis
path: github.com/manuquentin/docker-redis
ports:
6379: 6379

# redis2:
# type: custom
# template: ./redis/Dockerfile
# ports:
# 6379: 6379
2 changes: 1 addition & 1 deletion gaudi/gaudi.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (gaudi *Gaudi) Init(content string) {
}

if gaudi.useNewVersion() {
// os.RemoveAll(TEMPLATE_DIR)
os.RemoveAll(TEMPLATE_DIR)
}

// Check if templates are present
Expand Down

0 comments on commit 31c1a09

Please sign in to comment.