Commit fad52338 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/amazonebs: More comments

parent 4c37ce53
......@@ -18,6 +18,10 @@ type Builder struct {
}
func (b *Builder) Prepare(raw interface{}) (err error) {
// Marshal and unmarshal the raw configuration as a way to get it
// into our "config" struct.
// TODO: Use the reflection package and provide this as an API for
// better error messages
jsonBytes, err := json.Marshal(raw)
if err != nil {
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment