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

Unified Diff: export_test.go

Issue 6853075: golxc: added configuration reading (Closed)
Patch Set: golxc: added configuration reading Created 11 years, 1 month 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 | « config.go ('k') | golxc_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: export_test.go
=== modified file 'export_test.go'
--- export_test.go 2012-11-16 17:00:21 +0000
+++ export_test.go 2013-02-05 12:47:21 +0000
@@ -3,4 +3,12 @@
// ContainerHome returns the name of the container directory.
func ContainerHome(c *Container) string {
return c.containerHome()
-}
+}
+
+// SetConfPath allows the manipulation of the LXC
+// default configuration file.
+func SetConfPath(cp string) string {
+ orig := confPath
+ confPath = cp
+ return orig
+}
« no previous file with comments | « config.go ('k') | golxc_test.go » ('j') | no next file with comments »

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