mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Remove unnecessary prefix
This commit is contained in:
parent
9b056eb286
commit
1c9c8d473e
1 changed files with 1 additions and 3 deletions
|
|
@ -52,7 +52,6 @@ type TestContext struct {
|
|||
// TestCycle defines a single plan / apply cycle that should be performed within
|
||||
// a test.
|
||||
type TestCycle struct {
|
||||
|
||||
// Validate options
|
||||
|
||||
wantValidateDiags tfdiags.Diagnostics
|
||||
|
|
@ -444,7 +443,7 @@ func plannedChangeSortKey(change stackplan.PlannedChange) string {
|
|||
case *stackplan.PlannedChangeActionInvocationInstancePlanned:
|
||||
return change.ActionInvocationAddr.String()
|
||||
case *stackplan.PlannedChangeDeferredActionInvocation:
|
||||
return "deferred:" + change.ActionInvocationPlanned.ActionInvocationAddr.String()
|
||||
return change.ActionInvocationPlanned.ActionInvocationAddr.String()
|
||||
default:
|
||||
// This is only going to happen during tests, so we can panic here.
|
||||
panic(fmt.Errorf("unrecognized planned change type: %T", change))
|
||||
|
|
@ -485,7 +484,6 @@ func diagnosticSortFunc(diags tfdiags.Diagnostics) func(i, j int) bool {
|
|||
return sortDescription(id.Description(), jd.Description())
|
||||
}
|
||||
if id.Source().Subject != nil && jd.Source().Subject != nil {
|
||||
|
||||
return sortRange(id.Source().Subject, jd.Source().Subject)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue