fix typos in pkg
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
3f3ba02798
commit
b8047bf930
10 changed files with 12 additions and 12 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
"syscall"
|
||||
)
|
||||
|
||||
// runtimeArchitecture get the name of the current architecture (x86, x86_64, …)
|
||||
// runtimeArchitecture gets the name of the current architecture (x86, x86_64, …)
|
||||
func runtimeArchitecture() (string, error) {
|
||||
utsname := &syscall.Utsname{}
|
||||
if err := syscall.Uname(utsname); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue