Runtime hacks (#1344)

* Add Args/Image to runtime

* remove the hacks
This commit is contained in:
Asim Aslam
2020-03-13 18:39:59 +00:00
committed by GitHub
parent 3543b275e0
commit e803fb0855
12 changed files with 166 additions and 102 deletions

View File

@@ -184,7 +184,8 @@ func (r *runtime) Create(s *Service, opts ...CreateOption) error {
}
if len(options.Command) == 0 {
options.Command = []string{"go", "run", "."}
options.Command = []string{"go", "run"}
options.Args = []string{"."}
}
// create new service