From 02c48f807155a610f69f52d12f4240d0dafd4def Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Sun, 18 Oct 2020 12:56:51 -0400 Subject: [PATCH] Comment fixing --- dag/dag.go | 3 +-- helper/schema/field_writer_map.go | 2 +- terraform/graph_builder_apply.go | 2 +- terraform/graph_builder_plan.go | 2 +- website/docs/registry/api.html.md | 4 ++-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dag/dag.go b/dag/dag.go index f16a459f6..37e13c7f2 100644 --- a/dag/dag.go +++ b/dag/dag.go @@ -10,8 +10,7 @@ import ( "github.com/hashicorp/go-multierror" ) -// AcyclicGraph is a specialization of Graph that cannot have cycles. With -// this property, we get the property of sane graph traversal. +// AcyclicGraph is a specialization of Graph that cannot have cycles. type AcyclicGraph struct { Graph } diff --git a/helper/schema/field_writer_map.go b/helper/schema/field_writer_map.go index c09358b1b..fca3bab0a 100644 --- a/helper/schema/field_writer_map.go +++ b/helper/schema/field_writer_map.go @@ -303,7 +303,7 @@ func (w *MapFieldWriter) setSet( tempSchemaMap := map[string]*Schema{tempAddr[0]: &tempSchema} tempW := &MapFieldWriter{Schema: tempSchemaMap} - // Set the entire list, this lets us get sane values out of it + // Set the entire list, this lets us get values out of it if err := tempW.WriteField(tempAddr, value); err != nil { return err } diff --git a/terraform/graph_builder_apply.go b/terraform/graph_builder_apply.go index a0a5210af..5501319d8 100644 --- a/terraform/graph_builder_apply.go +++ b/terraform/graph_builder_apply.go @@ -168,7 +168,7 @@ func (b *ApplyGraphBuilder) Steps() []GraphTransformer { &CloseRootModuleTransformer{}, // Perform the transitive reduction to make our graph a bit - // more sane if possible (it usually is possible). + // more understandable if possible (it usually is possible). &TransitiveReductionTransformer{}, } diff --git a/terraform/graph_builder_plan.go b/terraform/graph_builder_plan.go index 7e19e1343..503ce1b61 100644 --- a/terraform/graph_builder_plan.go +++ b/terraform/graph_builder_plan.go @@ -162,7 +162,7 @@ func (b *PlanGraphBuilder) Steps() []GraphTransformer { &CloseRootModuleTransformer{}, // Perform the transitive reduction to make our graph a bit - // more sane if possible (it usually is possible). + // more understandable if possible (it usually is possible). &TransitiveReductionTransformer{}, } diff --git a/website/docs/registry/api.html.md b/website/docs/registry/api.html.md index 776c6ab85..18d2644e3 100644 --- a/website/docs/registry/api.html.md +++ b/website/docs/registry/api.html.md @@ -746,8 +746,8 @@ is not in JSON format above due to being returned by an intermediate proxy. Endpoints that return lists of results use a common pagination format. They accept positive integer query variables `offset` and `limit` which have the -usual SQL-like semantics. Each endpoint will have a sane default limit and a -default offset of `0`. Each endpoint will also apply a sane maximum limit, +usual SQL-like semantics. Each endpoint will have a default limit and a +default offset of `0`. Each endpoint will also apply a maximum limit, requesting more results will just result in the maximum limit being used. The response for a paginated result set will look like: