Skip to content

Commit

Permalink
remove solaris implementation
Browse files Browse the repository at this point in the history
The solaris implementation is not used anywhere, and removed from most
projects, so we may as well clean up the corresponding files here.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Feb 11, 2022
1 parent 4b3f90d commit 92b29e1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 109 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ jobs:
go test -race
GOOS=openbsd go build
GOOS=windows go build
GOOS=solaris go build
4 changes: 2 additions & 2 deletions console_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux || solaris || zos || freebsd
// +build linux solaris zos freebsd
//go:build linux || zos || freebsd
// +build linux zos freebsd

/*
Copyright The containerd Authors.
Expand Down
4 changes: 2 additions & 2 deletions console_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build darwin || freebsd || linux || netbsd || openbsd || solaris
// +build darwin freebsd linux netbsd openbsd solaris
//go:build darwin || freebsd || linux || netbsd || openbsd
// +build darwin freebsd linux netbsd openbsd

/*
Copyright The containerd Authors.
Expand Down
4 changes: 2 additions & 2 deletions pty_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build darwin || linux || netbsd || openbsd || solaris
// +build darwin linux netbsd openbsd solaris
//go:build darwin || linux || netbsd || openbsd
// +build darwin linux netbsd openbsd

/*
Copyright The containerd Authors.
Expand Down
52 changes: 0 additions & 52 deletions tc_solaris_cgo.go

This file was deleted.

48 changes: 0 additions & 48 deletions tc_solaris_nocgo.go

This file was deleted.

4 changes: 2 additions & 2 deletions tc_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build darwin || freebsd || linux || netbsd || openbsd || solaris || zos
// +build darwin freebsd linux netbsd openbsd solaris zos
//go:build darwin || freebsd || linux || netbsd || openbsd || zos
// +build darwin freebsd linux netbsd openbsd zos

/*
Copyright The containerd Authors.
Expand Down

0 comments on commit 92b29e1

Please sign in to comment.