Skip to content

Commit

Permalink
Fix typo in var name
Browse files Browse the repository at this point in the history
  • Loading branch information
wallyworld committed May 28, 2020
1 parent a5bffa6 commit 60107fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion state/cleanup.go
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ func (st *State) cleanupForceDestroyedMachineInternal(machineID string, maxWait

// Schedule a forced cleanup if not already done.
if !machine.ForceDestroyed() {
st.scheduleForceCleanup(cleanupForceRemoveMachine, machineId, maxWait)
st.scheduleForceCleanup(cleanupForceRemoveMachine, machineID, maxWait)
if err := st.db().RunTransaction(machine.forceDestroyedOps()); err != nil {
return errors.Trace(err)
}
Expand Down
2 changes: 1 addition & 1 deletion worker/remoterelations/remoterelations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ func (s *remoteRelationsSuite) TestDyingRelationSuspended(c *gc.C) {
defer workertest.CleanKill(c, w)
s.stub.ResetCalls()

s.relationsFacade.relations["db2:db django:db"].life = params.Dying
s.relationsFacade.relations["db2:db django:db"].life = life.Dying
s.relationsFacade.relations["db2:db django:db"].SetSuspended(true)
relWatcher, _ := s.relationsFacade.remoteApplicationRelationsWatcher("db2")
relWatcher.changes <- []string{"db2:db django:db"}
Expand Down

0 comments on commit 60107fc

Please sign in to comment.