@@ -261,10 +261,6 @@ const (
261261// writeResourceInstanceState saves the given object as the current object for
262262// the selected resource instance.
263263//
264- // dependencies is a parameter, instead of those directly attacted to the
265- // NodeAbstractResourceInstance, because we don't write dependencies for
266- // datasources.
267- //
268264// targetState determines which context state we're writing to during plan. The
269265// default is the global working state.
270266func (n * NodeAbstractResourceInstance ) writeResourceInstanceState (ctx EvalContext , obj * states.ResourceInstanceObject , targetState phaseState ) error {
@@ -280,7 +276,7 @@ func (n *NodeAbstractResourceInstance) writeResourceInstanceStateDeposed(ctx Eva
280276 return n .writeResourceInstanceStateImpl (ctx , deposedKey , obj , targetState )
281277}
282278
283- // ( this is the private common body of both writeResourceInstanceState and
279+ // this is the private common body of both writeResourceInstanceState and
284280// writeResourceInstanceStateDeposed. Don't call it directly; instead, use
285281// one of the two wrappers to be explicit about which of the instance's
286282// objects you are intending to write.
@@ -290,11 +286,11 @@ func (n *NodeAbstractResourceInstance) writeResourceInstanceStateImpl(ctx EvalCo
290286 if err != nil {
291287 return err
292288 }
293- logFuncName := "NodeAbstractResouceInstance .writeResourceInstanceState"
289+ logFuncName := "NodeAbstractResourceInstance .writeResourceInstanceState"
294290 if deposedKey == states .NotDeposed {
295291 log .Printf ("[TRACE] %s to %s for %s" , logFuncName , targetState , absAddr )
296292 } else {
297- logFuncName = "NodeAbstractResouceInstance .writeResourceInstanceStateDeposed"
293+ logFuncName = "NodeAbstractResourceInstance .writeResourceInstanceStateDeposed"
298294 log .Printf ("[TRACE] %s to %s for %s (deposed key %s)" , logFuncName , targetState , absAddr , deposedKey )
299295 }
300296
@@ -1318,7 +1314,7 @@ func (n *NodeAbstractResourceInstance) plan(
13181314 Before : priorVal ,
13191315 BeforeIdentity : priorIdentity ,
13201316 // Pass the marked planned value through in our change
1321- // to propogate through evaluation.
1317+ // to propagate through evaluation.
13221318 // Marks will be removed when encoding.
13231319 After : plannedNewVal ,
13241320 AfterIdentity : plannedIdentity ,
0 commit comments