Index: cmd/jujud/upgrade_test.go |
=== modified file 'cmd/jujud/upgrade_test.go' |
--- cmd/jujud/upgrade_test.go 2014-02-28 07:28:43 +0000 |
+++ cmd/jujud/upgrade_test.go 2014-03-04 14:33:43 +0000 |
@@ -82,7 +82,7 @@ |
// Wait for upgrade steps to run. |
success := false |
for attempt := coretesting.LongAttempt.Start(); attempt.Next(); { |
- conf, err := agent.ReadConf(oldConfig.DataDir(), s.machine.Tag()) |
+ conf, err := agent.ReadConf(agent.ConfigPath(oldConfig.DataDir(), s.machine.Tag())) |
c.Assert(err, gc.IsNil) |
success = conf.UpgradedToVersion() == s.upgradeToVersion.Number |
if success { |