The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/53
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 4a3902cf0fdc215b056f7f01bc3868e9333f2954 Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Fri, 9 Mar 2018 10:30:28 +0100 Subject: [PATCH] *: Fix minor issues Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- distrobuilder/main_build-dir.go | 2 +- generators/dump.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distrobuilder/main_build-dir.go b/distrobuilder/main_build-dir.go index a1f1acf..add07d1 100644 --- a/distrobuilder/main_build-dir.go +++ b/distrobuilder/main_build-dir.go @@ -33,7 +33,7 @@ func (c *cmdBuildDir) command() *cobra.Command { continue } - err := generator.Run(c.global.flagCacheDir, c.global.sourceDir, file) + err := generator.Run(c.global.flagCacheDir, c.global.targetDir, file) if err != nil { continue } diff --git a/generators/dump.go b/generators/dump.go index 1597f6c..c5825e3 100644 --- a/generators/dump.go +++ b/generators/dump.go @@ -40,7 +40,7 @@ func (g DumpGenerator) dumpFile(path, content string) error { } defer file.Close() - _, err = file.WriteString(content) + _, err = file.WriteString(content + "\n") if err != nil { return err }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel