Guillaume J. Charmes 12 years ago
parent
commit
45a8bba15e
5 changed files with 10 additions and 10 deletions
  1. 1 1
      container.go
  2. 3 3
      container_test.go
  3. 1 1
      fs/store.go
  4. 4 4
      server/server.go
  5. 1 1
      state.go

+ 1 - 1
container.go

@@ -1,9 +1,9 @@
 package docker
 package docker
 
 
 import (
 import (
+	"./fs"
 	"encoding/json"
 	"encoding/json"
 	"errors"
 	"errors"
-	"./fs"
 	"github.com/kr/pty"
 	"github.com/kr/pty"
 	"io"
 	"io"
 	"io/ioutil"
 	"io/ioutil"

+ 3 - 3
container_test.go

@@ -65,9 +65,9 @@ func TestCommitRun(t *testing.T) {
 		[]string{"/world"},
 		[]string{"/world"},
 		img,
 		img,
 		&Config{
 		&Config{
-		Ram: 33554432,
-	},
-		)
+			Ram: 33554432,
+		},
+	)
 	if err != nil {
 	if err != nil {
 		t.Fatal(err)
 		t.Fatal(err)
 	}
 	}

+ 1 - 1
fs/store.go

@@ -1,10 +1,10 @@
 package fs
 package fs
 
 
 import (
 import (
+	"../future"
 	"database/sql"
 	"database/sql"
 	"errors"
 	"errors"
 	"fmt"
 	"fmt"
-	"../future"
 	_ "github.com/mattn/go-sqlite3"
 	_ "github.com/mattn/go-sqlite3"
 	"github.com/shykes/gorp" //Forked to implement CreateTablesOpts
 	"github.com/shykes/gorp" //Forked to implement CreateTablesOpts
 	"io"
 	"io"

+ 4 - 4
server/server.go

@@ -1,15 +1,15 @@
 package server
 package server
 
 
 import (
 import (
+	".."
+	"../fs"
+	"../future"
+	"../rcli"
 	"bufio"
 	"bufio"
 	"bytes"
 	"bytes"
 	"encoding/json"
 	"encoding/json"
 	"errors"
 	"errors"
 	"fmt"
 	"fmt"
-	".."
-	"../fs"
-	"../future"
-	"../rcli"
 	"io"
 	"io"
 	"net/http"
 	"net/http"
 	"net/url"
 	"net/url"

+ 1 - 1
state.go

@@ -1,8 +1,8 @@
 package docker
 package docker
 
 
 import (
 import (
-	"fmt"
 	"./future"
 	"./future"
+	"fmt"
 	"sync"
 	"sync"
 	"time"
 	"time"
 )
 )