Merge pull request #26623 from hashicorp/pselle/cleanup

Comment fixing
This commit is contained in:
Pam Selle 2020-10-19 10:30:40 -04:00 committed by GitHub
commit b44dad3ce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 7 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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{},
}

View File

@ -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{},
}

View File

@ -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: