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

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: S.Çağlar Onur <cag...@10ur.org>
From aadb55d0aed2fcfeac50cf661289ea69ca61097c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= <cag...@10ur.org>
Date: Sun, 19 May 2019 18:23:31 -0700
Subject: [PATCH] Fix minor typos
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: S.Çağlar Onur <cag...@10ur.org>
---
 container.go | 8 ++++----
 lxc_test.go  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/container.go b/container.go
index 22e9c71..5cada46 100644
--- a/container.go
+++ b/container.go
@@ -125,7 +125,7 @@ func (c *Container) Name() string {
        return c.name()
 }
 
-// String returns the string represantation of container.
+// String returns the string representation of container.
 func (c *Container) String() string {
        c.mu.RLock()
        defer c.mu.RUnlock()
@@ -1818,7 +1818,7 @@ func (c *Container) Migrate(cmd uint, opts 
MigrateOptions) error {
        return nil
 }
 
-// AttachInterface attaches specifed netdev to the container.
+// AttachInterface attaches specified netdev to the container.
 func (c *Container) AttachInterface(source, destination string) error {
        c.mu.Lock()
        defer c.mu.Unlock()
@@ -1839,7 +1839,7 @@ func (c *Container) AttachInterface(source, destination 
string) error {
        return nil
 }
 
-// DetachInterface detaches specifed netdev from the container.
+// DetachInterface detaches specified netdev from the container.
 func (c *Container) DetachInterface(source string) error {
        c.mu.Lock()
        defer c.mu.Unlock()
@@ -1857,7 +1857,7 @@ func (c *Container) DetachInterface(source string) error {
        return nil
 }
 
-// DetachInterfaceRename detaches specifed netdev from the container and 
renames it.
+// DetachInterfaceRename detaches specified netdev from the container and 
renames it.
 func (c *Container) DetachInterfaceRename(source, target string) error {
        c.mu.Lock()
        defer c.mu.Unlock()
diff --git a/lxc_test.go b/lxc_test.go
index 77d12a4..4494f5c 100644
--- a/lxc_test.go
+++ b/lxc_test.go
@@ -534,7 +534,7 @@ func TestControllable(t *testing.T) {
        defer c.Release()
 
        if !c.Controllable() {
-               t.Errorf("Controling the container failed...")
+               t.Errorf("Controlling the container failed...")
        }
 }
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to