Follow-up of 17478, unexport private method

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2015-11-19 14:55:57 +01:00
parent 5edb94d724
commit 6b16247685
4 changed files with 7 additions and 7 deletions

View file

@ -4,8 +4,8 @@ import (
"os/exec"
)
// GetRuntimeArchitecture get the name of the current architecture (x86, x86_64, …)
func GetRuntimeArchitecture() (string, error) {
// runtimeArchitecture get the name of the current architecture (x86, x86_64, …)
func runtimeArchitecture() (string, error) {
cmd := exec.Command("uname", "-m")
machine, err := cmd.Output()
if err != nil {