mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
go1.8: Changes to support golang 1.8 (#4759)
QuirkConn is added to replace net.Conn as a workaround to a golang bug: https://github.com/golang/go/issues/21133
This commit is contained in:
committed by
Harshavardhana
parent
218049300c
commit
b4dc6df35c
+3
-3
@@ -28,9 +28,9 @@ func TestCheckGoVersion(t *testing.T) {
|
||||
expectedErr error
|
||||
}{
|
||||
{minGoVersion, nil},
|
||||
{minGoVersion + ".10", nil},
|
||||
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.7. Please recompile accordingly.")},
|
||||
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.7. Please recompile accordingly.")},
|
||||
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.8.3. Please recompile accordingly")},
|
||||
{"1.5", fmt.Errorf("Minio is not compiled by Go >= 1.8.3. Please recompile accordingly")},
|
||||
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.8.3. Please recompile accordingly")},
|
||||
{".1", fmt.Errorf("Malformed version: .1")},
|
||||
{"somejunk", fmt.Errorf("Malformed version: somejunk")},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user