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

Side by Side Diff: upgrades/deprecatedenvsettings.go

Issue 94410043: Use lxc clone by default (Closed)
Patch Set: Use lxc clone by default Created 10 years, 10 months ago
Left:
Right:
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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 Canonical Ltd. 1 // Copyright 2014 Canonical Ltd.
2 // Licensed under the AGPLv3, see LICENCE file for details. 2 // Licensed under the AGPLv3, see LICENCE file for details.
3 3
4 package upgrades 4 package upgrades
5 5
6 func processDeprecatedEnvSettings(context Context) error { 6 func processDeprecatedEnvSettings(context Context) error {
7 st := context.State() 7 st := context.State()
8 removeAttrs := []string{ 8 removeAttrs := []string{
9 "public-bucket", 9 "public-bucket",
10 "public-bucket-region", 10 "public-bucket-region",
11 "public-bucket-url", 11 "public-bucket-url",
12 "default-image-id", 12 "default-image-id",
13 "default-instance-type", 13 "default-instance-type",
14 "shared-storage-port", 14 "shared-storage-port",
15 } 15 }
16 // TODO (wallyworld) - delete tools-url in 1.20 16 // TODO (wallyworld) - delete tools-url in 1.20
17 // TODO (wallyworld) - delete lxc-use-clone in 1.22
17 return st.UpdateEnvironConfig(map[string]interface{}{}, removeAttrs, nil ) 18 return st.UpdateEnvironConfig(map[string]interface{}{}, removeAttrs, nil )
18 } 19 }
OLDNEW
« container/lxc/lxc.go ('K') | « state/apiserver/provisioner/provisioner.go ('k') | no next file » | no next file with comments »

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