{"action":"created","issue":{"url":"https://api.github.com/repos/titpetric/books/issues/1","repository_url":"https://api.github.com/repos/titpetric/books","labels_url":"https://api.github.com/repos/titpetric/books/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/titpetric/books/issues/1/comments","events_url":"https://api.github.com/repos/titpetric/books/issues/1/events","html_url":"https://github.com/titpetric/books/issues/1","id":161764544,"number":1,"title":"Missing argument at index 2","user":{"login":"iampeterbanjo","id":221853,"avatar_url":"https://avatars.githubusercontent.com/u/221853?v=3","gravatar_id":"","url":"https://api.github.com/users/iampeterbanjo","html_url":"https://github.com/iampeterbanjo","followers_url":"https://api.github.com/users/iampeterbanjo/followers","following_url":"https://api.github.com/users/iampeterbanjo/following{/other_user}","gists_url":"https://api.github.com/users/iampeterbanjo/gists{/gist_id}","starred_url":"https://api.github.com/users/iampeterbanjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iampeterbanjo/subscriptions","organizations_url":"https://api.github.com/users/iampeterbanjo/orgs","repos_url":"https://api.github.com/users/iampeterbanjo/repos","events_url":"https://api.github.com/users/iampeterbanjo/events{/privacy}","received_events_url":"https://api.github.com/users/iampeterbanjo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-22T19:21:46Z","updated_at":"2016-06-24T07:14:35Z","closed_at":"2016-06-24T07:14:35Z","body":"I'm working through the exercises in the book but when I try and run the `docker run` script on the `hello_world.go` file I get the following error message\r\n\r\n`test: Missing argument at index 2`\r\n`test: Missing argument at index 2`"},"comment":{"url":"https://api.github.com/repos/titpetric/books/issues/comments/228274347","html_url":"https://github.com/titpetric/books/issues/1#issuecomment-228274347","issue_url":"https://api.github.com/repos/titpetric/books/issues/1","id":228274347,"user":{"login":"iampeterbanjo","id":221853,"avatar_url":"https://avatars.githubusercontent.com/u/221853?v=3","gravatar_id":"","url":"https://api.github.com/users/iampeterbanjo","html_url":"https://github.com/iampeterbanjo","followers_url":"https://api.github.com/users/iampeterbanjo/followers","following_url":"https://api.github.com/users/iampeterbanjo/following{/other_user}","gists_url":"https://api.github.com/users/iampeterbanjo/gists{/gist_id}","starred_url":"https://api.github.com/users/iampeterbanjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iampeterbanjo/subscriptions","organizations_url":"https://api.github.com/users/iampeterbanjo/orgs","repos_url":"https://api.github.com/users/iampeterbanjo/repos","events_url":"https://api.github.com/users/iampeterbanjo/events{/privacy}","received_events_url":"https://api.github.com/users/iampeterbanjo/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T07:14:35Z","updated_at":"2016-06-24T07:14:35Z","body":"You're right - I added `#!/bin/bash` to the docker script and now both it and `./run` are printing `Hello World` in bash and fish shell. For consistency I amended the `run` script as follows:\r\n```\r\n\r\n#!/bin/bash\r\nsource ../shell/common.sh\r\n\r\nAPP=\"foundations\"\r\n\r\nFILES=$(ls *.go | sort)\r\nfor FILE in $FILES; do\r\n\tdocker-go.sh run $FILE\r\ndone\r\n```\r\n\r\nThanks for your help"}}
{"actor":{"display_login":"iampeterbanjo"}}