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

Unified Diff: environs/dummy/environs.go

Issue 6259062: add AssignmentPolicy to Environ
Patch Set: add AssignmentPolicy to Environ Created 12 years, 9 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 | « [revision details] ('k') | environs/ec2/ec2.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/dummy/environs.go
=== modified file 'environs/dummy/environs.go'
--- environs/dummy/environs.go 2012-05-31 07:35:44 +0000
+++ environs/dummy/environs.go 2012-06-06 10:43:48 +0000
@@ -310,6 +310,10 @@
return nil, errors.New("no state info available for this environ")
}
+func (e *environ) AssignmentPolicy() state.AssignmentPolicy {
+ return state.AssignUnused
+}
+
func (e *environ) SetConfig(cfg environs.EnvironConfig) {
config := cfg.(*environConfig)
e.configMutex.Lock()
« no previous file with comments | « [revision details] ('k') | environs/ec2/ec2.go » ('j') | no next file with comments »

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