The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/6

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 a84b4a65aace30e8c15a979d39aa1f18c9fd1857 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Mon, 12 Feb 2018 16:06:18 +0100
Subject: [PATCH] managers: add 'pacman' prefix to functions

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 managers/pacman.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/managers/pacman.go b/managers/pacman.go
index 46a9c43..8fce07f 100644
--- a/managers/pacman.go
+++ b/managers/pacman.go
@@ -10,14 +10,14 @@ import (
 
 // NewPacman creates a new Manager instance.
 func NewPacman() *Manager {
-       err := setMirrorlist()
+       err := pacmanSetMirrorlist()
        if err != nil {
                return nil
        }
 
        // shared.RunCommand("pacman", "-Syy")
 
-       err = setupTrustedKeys()
+       err = pacmanSetupTrustedKeys()
        if err != nil {
                return nil
        }
@@ -52,7 +52,7 @@ func NewPacman() *Manager {
        }
 }
 
-func setupTrustedKeys() error {
+func pacmanSetupTrustedKeys() error {
        var err error
 
        _, err = os.Stat("/etc/pacman.d/gnupg")
@@ -73,7 +73,7 @@ func setupTrustedKeys() error {
        return nil
 }
 
-func setMirrorlist() error {
+func pacmanSetMirrorlist() error {
        f, err := os.Create(filepath.Join("etc", "pacman.d", "mirrorlist"))
        if err != nil {
                return err
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to