mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Upgrades the AWS SDK to v2. AWS S3 bucket urls will now error if they are not prefixed with a schema (example: https://).
This commit is contained in:
@@ -62,9 +62,9 @@ func (m *E2eSuite) SetupSuite() {
|
||||
|
||||
func (m *E2eSuite) TearDownSuite() {
|
||||
m.stopAthens()
|
||||
chmodR(m.goPath, 0777)
|
||||
chmodR(m.goPath, 0o777)
|
||||
os.RemoveAll(m.goPath)
|
||||
chmodR(m.sampleRepoPath, 0777)
|
||||
chmodR(m.sampleRepoPath, 0o777)
|
||||
os.RemoveAll(m.sampleRepoPath)
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ func TestE2E(t *testing.T) {
|
||||
}
|
||||
|
||||
func (m *E2eSuite) SetupTest() {
|
||||
chmodR(m.goPath, 0777)
|
||||
chmodR(m.goPath, 0o777)
|
||||
err := cleanGoCache(m.getEnv())
|
||||
if err != nil {
|
||||
m.Fail("Failed to clear go cache", err)
|
||||
|
||||
Reference in New Issue
Block a user