Skip to content

Commit

Permalink
Fix indentation in README example
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrannajaryan committed Oct 12, 2021
1 parent 9d6a663 commit 2c50ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/README.md
Expand Up @@ -13,7 +13,7 @@ import schema "go.opentelemetry.io/otel/schema/v1.0"

// Load the schema from a file in v1.0.x file format.
func loadSchemaFromFile() error {
telSchema, err := schema.ParseFile("schema-file.yaml")
telSchema, err := schema.ParseFile("schema-file.yaml")
if err != nil {
return err
}
Expand All @@ -22,7 +22,7 @@ telSchema, err := schema.ParseFile("schema-file.yaml")

// Alternatively use schema.Parse to read the schema file from io.Reader.
func loadSchemaFromReader(r io.Reader) error {
telSchema, err := schema.Parse(r)
telSchema, err := schema.Parse(r)
if err != nil {
return err
}
Expand Down

0 comments on commit 2c50ea3

Please sign in to comment.