Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(395)

Unified Diff: worker/uniter/modes.go

Issue 8626043: juju: remove dependency on api/params
Patch Set: juju: remove dependency on api/params Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « worker/uniter/filter_test.go ('k') | worker/uniter/uniter_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: worker/uniter/modes.go
=== modified file 'worker/uniter/modes.go'
--- worker/uniter/modes.go 2013-04-05 13:47:17 +0000
+++ worker/uniter/modes.go 2013-04-10 14:55:46 +0000
@@ -342,9 +342,9 @@
return nil, tomb.ErrDying
case rm := <-u.f.ResolvedEvents():
switch rm {
- case params.ResolvedRetryHooks:
+ case state.ResolvedRetryHooks:
err = u.runHook(*u.s.Hook)
- case params.ResolvedNoHooks:
+ case state.ResolvedNoHooks:
err = u.commitHook(*u.s.Hook)
default:
return nil, fmt.Errorf("unknown resolved mode %q", rm)
« no previous file with comments | « worker/uniter/filter_test.go ('k') | worker/uniter/uniter_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b