)]}'
{"cmd/config/set_context.go":[{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"70c70bbc896ce4dd57c5528637072a8bd4601b12","unresolved":false,"context_lines":[{"line_number":33,"context_line":"\tsetContextExample \u003d fmt.Sprintf(`"},{"line_number":34,"context_line":"# Create a completely new e2e context entry"},{"line_number":35,"context_line":"airshipctl config set-context e2e --%v\u003dkube-system --%v\u003dmanifest --%v\u003dauth-info --%v\u003d%v"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# Update the current-context to e2e"},{"line_number":38,"context_line":"airshipctl config set-context e2e --%v\u003dtrue`,"},{"line_number":39,"context_line":"\t\tconfig.FlagNamespace,"},{"line_number":40,"context_line":"\t\tconfig.FlagManifest,"},{"line_number":41,"context_line":"\t\tconfig.FlagAuthInfoName,"}],"source_content_type":"text/x-go","patch_set":2,"id":"3fa7e38b_8872fb4a","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":45},"updated":"2020-02-18 18:42:45.000000000","message":"This PS should probably remove the --current-context flag and update this example","commit_id":"3d06f2dc69a5010304284d83576dcbc008df4656"},{"author":{"_account_id":28618,"name":"Drew Walters","email":"drewwalters@microsoft.com","username":"drewwalters96"},"change_message_id":"c57b6124718fa8dcfe06155609f968779b1b7031","unresolved":false,"context_lines":[{"line_number":33,"context_line":"\tsetContextExample \u003d fmt.Sprintf(`"},{"line_number":34,"context_line":"# Create a completely new e2e context entry"},{"line_number":35,"context_line":"airshipctl config set-context e2e --%v\u003dkube-system --%v\u003dmanifest --%v\u003dauth-info --%v\u003d%v"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# Update the current-context to e2e"},{"line_number":38,"context_line":"airshipctl config set-context e2e --%v\u003dtrue`,"},{"line_number":39,"context_line":"\t\tconfig.FlagNamespace,"},{"line_number":40,"context_line":"\t\tconfig.FlagManifest,"},{"line_number":41,"context_line":"\t\tconfig.FlagAuthInfoName,"}],"source_content_type":"text/x-go","patch_set":2,"id":"3fa7e38b_a8e1f799","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":45},"in_reply_to":"3fa7e38b_08112baf","updated":"2020-02-18 18:56:49.000000000","message":"\u003e I can do that. If we rip it out, doesn\u0027t that mean users won\u0027t be\n \u003e able to change a context value AND switch to that context in the\n \u003e same command?\n\nMy mistake, no change. Will post a new PS.","commit_id":"3d06f2dc69a5010304284d83576dcbc008df4656"},{"author":{"_account_id":28618,"name":"Drew Walters","email":"drewwalters@microsoft.com","username":"drewwalters96"},"change_message_id":"3d8e5c13d68cebf884adf1d74f15fb4b3387188f","unresolved":false,"context_lines":[{"line_number":33,"context_line":"\tsetContextExample \u003d fmt.Sprintf(`"},{"line_number":34,"context_line":"# Create a completely new e2e context entry"},{"line_number":35,"context_line":"airshipctl config set-context e2e --%v\u003dkube-system --%v\u003dmanifest --%v\u003dauth-info --%v\u003d%v"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# Update the current-context to e2e"},{"line_number":38,"context_line":"airshipctl config set-context e2e --%v\u003dtrue`,"},{"line_number":39,"context_line":"\t\tconfig.FlagNamespace,"},{"line_number":40,"context_line":"\t\tconfig.FlagManifest,"},{"line_number":41,"context_line":"\t\tconfig.FlagAuthInfoName,"}],"source_content_type":"text/x-go","patch_set":2,"id":"3fa7e38b_08112baf","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":45},"in_reply_to":"3fa7e38b_8872fb4a","updated":"2020-02-18 18:49:33.000000000","message":"\u003e This PS should probably remove the --current-context flag and\n \u003e update this example\n\nI can do that. If we rip it out, doesn\u0027t that mean users won\u0027t be able to change a context value AND switch to that context in the same command?\n\nI\u0027m not sure if that\u0027s what we intended or if it was just something the old method provided.","commit_id":"3d06f2dc69a5010304284d83576dcbc008df4656"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"dc24e307bfe7235bd51642145342bae1a859c36a","unresolved":false,"context_lines":[{"line_number":67,"context_line":"\t\t\t\treturn err"},{"line_number":68,"context_line":"\t\t\t}"},{"line_number":69,"context_line":"\t\t\tif modified {"},{"line_number":70,"context_line":"\t\t\t\tfmt.Fprintf(cmd.OutOrStdout(), \"Context %q modified.\\n\", theContext.Name)"},{"line_number":71,"context_line":"\t\t\t} else {"},{"line_number":72,"context_line":"\t\t\t\tfmt.Fprintf(cmd.OutOrStdout(), \"Context %q created.\\n\", theContext.Name)"},{"line_number":73,"context_line":"\t\t\t}"}],"source_content_type":"text/x-go","patch_set":3,"id":"3fa7e38b_6bc3f93b","line":70,"range":{"start_line":70,"start_character":0,"end_line":70,"end_character":77},"updated":"2020-02-18 19:50:02.000000000","message":"Note that this is going to be incorrect if the user simply switches to a different context (the \"current-context\" field will be updated, but the context itself will not be modified).\n\nI think it\u0027s probably safe to leave this for now, since it will need to revert again when the aforementioned `use-context` command is implemented","commit_id":"18d6e2ac295d18cdf1c68ab1fd40b03fb8ad13dc"}]}
