Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve egctl to support sending multi configs at once (fix #29) #230

Merged
merged 5 commits into from
Sep 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update comments.
Co-authored-by: Bomin Zhang <[email protected]>
  • Loading branch information
nevill and localvar authored Sep 7, 2021
commit e3b448e14d22bab1fb6cb43ede78d8822d7c365e
2 changes: 1 addition & 1 deletion cmd/client/command/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func newYAMLDecoder(r io.Reader) *yamlDecoder {
}
}

// Decods reads a YAML document into bytes and try to yaml.Unmarshal it.
// Decode reads a YAML document into bytes and tries to yaml.Unmarshal it.
func (d *yamlDecoder) Decode(into interface{}) error {
bytes, err := d.reader.Read()
if err != nil && err != io.EOF {
Expand Down