Skip to content

Commit

Permalink
*: remove unused stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
runcom committed Mar 14, 2016
1 parent b9361f0 commit 59648fc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 65 deletions.
40 changes: 0 additions & 40 deletions builder/dockerfile/internals_unix.go

This file was deleted.

8 changes: 0 additions & 8 deletions builder/dockerfile/internals_windows.go

This file was deleted.

6 changes: 0 additions & 6 deletions container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,6 @@ func (container *Container) ConfigPath() (string, error) {
return container.GetRootResourcePath(configFileName)
}

// Returns true if the container exposes a certain port
func (container *Container) exposes(p nat.Port) bool {
_, exists := container.Config.ExposedPorts[p]
return exists
}

// StartLogger starts a new logger driver for the container.
func (container *Container) StartLogger(cfg containertypes.LogConfig) (logger.Logger, error) {
c, err := logger.GetLogDriver(cfg.Type)
Expand Down
11 changes: 0 additions & 11 deletions layer/filestore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@ func assertNotDirectoryError(t *testing.T, err error) {
}
}

func assertPermissionError(t *testing.T, err error) {
perr, ok := err.(*os.PathError)
if !ok {
t.Fatalf("Unexpected error %#v, expected path error", err)
}

if perr.Err != syscall.EACCES {
t.Fatalf("Unexpected error %s, expected %s", perr.Err, syscall.EACCES)
}
}

func TestCommitFailure(t *testing.T) {
fms, td, cleanup := newFileMetadataStore(t)
defer cleanup()
Expand Down

0 comments on commit 59648fc

Please sign in to comment.