{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-batch-cli-extensions/issues/58","repository_url":"https://api.github.com/repos/Azure/azure-batch-cli-extensions","labels_url":"https://api.github.com/repos/Azure/azure-batch-cli-extensions/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-batch-cli-extensions/issues/58/comments","events_url":"https://api.github.com/repos/Azure/azure-batch-cli-extensions/issues/58/events","html_url":"https://github.com/Azure/azure-batch-cli-extensions/issues/58","id":316268897,"node_id":"MDU6SXNzdWUzMTYyNjg4OTc=","number":58,"title":"Ignored code blocks?","user":{"login":"whatsondoc","id":30378443,"node_id":"MDQ6VXNlcjMwMzc4NDQz","avatar_url":"https://avatars2.githubusercontent.com/u/30378443?v=4","gravatar_id":"","url":"https://api.github.com/users/whatsondoc","html_url":"https://github.com/whatsondoc","followers_url":"https://api.github.com/users/whatsondoc/followers","following_url":"https://api.github.com/users/whatsondoc/following{/other_user}","gists_url":"https://api.github.com/users/whatsondoc/gists{/gist_id}","starred_url":"https://api.github.com/users/whatsondoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatsondoc/subscriptions","organizations_url":"https://api.github.com/users/whatsondoc/orgs","repos_url":"https://api.github.com/users/whatsondoc/repos","events_url":"https://api.github.com/users/whatsondoc/events{/privacy}","received_events_url":"https://api.github.com/users/whatsondoc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"xingwu1","id":10856374,"node_id":"MDQ6VXNlcjEwODU2Mzc0","avatar_url":"https://avatars2.githubusercontent.com/u/10856374?v=4","gravatar_id":"","url":"https://api.github.com/users/xingwu1","html_url":"https://github.com/xingwu1","followers_url":"https://api.github.com/users/xingwu1/followers","following_url":"https://api.github.com/users/xingwu1/following{/other_user}","gists_url":"https://api.github.com/users/xingwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/xingwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xingwu1/subscriptions","organizations_url":"https://api.github.com/users/xingwu1/orgs","repos_url":"https://api.github.com/users/xingwu1/repos","events_url":"https://api.github.com/users/xingwu1/events{/privacy}","received_events_url":"https://api.github.com/users/xingwu1/received_events","type":"User","site_admin":false},"assignees":[{"login":"xingwu1","id":10856374,"node_id":"MDQ6VXNlcjEwODU2Mzc0","avatar_url":"https://avatars2.githubusercontent.com/u/10856374?v=4","gravatar_id":"","url":"https://api.github.com/users/xingwu1","html_url":"https://github.com/xingwu1","followers_url":"https://api.github.com/users/xingwu1/followers","following_url":"https://api.github.com/users/xingwu1/following{/other_user}","gists_url":"https://api.github.com/users/xingwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/xingwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xingwu1/subscriptions","organizations_url":"https://api.github.com/users/xingwu1/orgs","repos_url":"https://api.github.com/users/xingwu1/repos","events_url":"https://api.github.com/users/xingwu1/events{/privacy}","received_events_url":"https://api.github.com/users/xingwu1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-20T13:31:13Z","updated_at":"2018-06-21T21:34:57Z","closed_at":"2018-06-21T21:34:57Z","author_association":"CONTRIBUTOR","body":"It appears as though certain blocks of code are being ignored if they fall outside of a property definition, without returning any errors or warnings.\r\n\r\nCase in point is here: https://github.com/whatsondoc/azure-batch/blob/master/pool/marketplace-image/batch-pool-MP-fixed.azuredeploy.json\r\n\r\n...where the pool startTask doesn't get applied as the pool Properties: property is closed (inadvertently, in this case) before the startTask is defined.\r\n\r\nCan we add a validation to track/capture such scenarios, and (at least) report them as a warning on the CLI when deploying using templates?"},"comment":{"url":"https://api.github.com/repos/Azure/azure-batch-cli-extensions/issues/comments/399251038","html_url":"https://github.com/Azure/azure-batch-cli-extensions/issues/58#issuecomment-399251038","issue_url":"https://api.github.com/repos/Azure/azure-batch-cli-extensions/issues/58","id":399251038,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTI1MTAzOA==","user":{"login":"xingwu1","id":10856374,"node_id":"MDQ6VXNlcjEwODU2Mzc0","avatar_url":"https://avatars2.githubusercontent.com/u/10856374?v=4","gravatar_id":"","url":"https://api.github.com/users/xingwu1","html_url":"https://github.com/xingwu1","followers_url":"https://api.github.com/users/xingwu1/followers","following_url":"https://api.github.com/users/xingwu1/following{/other_user}","gists_url":"https://api.github.com/users/xingwu1/gists{/gist_id}","starred_url":"https://api.github.com/users/xingwu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xingwu1/subscriptions","organizations_url":"https://api.github.com/users/xingwu1/orgs","repos_url":"https://api.github.com/users/xingwu1/repos","events_url":"https://api.github.com/users/xingwu1/events{/privacy}","received_events_url":"https://api.github.com/users/xingwu1/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T21:34:57Z","updated_at":"2018-06-21T21:34:57Z","author_association":"MEMBER","body":"Fixed with azure-batch-extension 3.0.0"}}
{"actor":{"display_login":"xingwu1"}}