mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +00:00
chore: remove repetitive words
Signed-off-by: xinhangzhou <shuangcui@aliyun.com>
This commit is contained in:
@@ -43,14 +43,14 @@ func randString(n int) string {
|
|||||||
func (s *PublishedStorageSuite) SetUpSuite(c *C) {
|
func (s *PublishedStorageSuite) SetUpSuite(c *C) {
|
||||||
s.accountName = os.Getenv("AZURE_STORAGE_ACCOUNT")
|
s.accountName = os.Getenv("AZURE_STORAGE_ACCOUNT")
|
||||||
if s.accountName == "" {
|
if s.accountName == "" {
|
||||||
println("Please set the the following two environment variables to run the Azure storage tests.")
|
println("Please set the following two environment variables to run the Azure storage tests.")
|
||||||
println(" 1. AZURE_STORAGE_ACCOUNT")
|
println(" 1. AZURE_STORAGE_ACCOUNT")
|
||||||
println(" 2. AZURE_STORAGE_ACCESS_KEY")
|
println(" 2. AZURE_STORAGE_ACCESS_KEY")
|
||||||
c.Skip("AZURE_STORAGE_ACCOUNT not set.")
|
c.Skip("AZURE_STORAGE_ACCOUNT not set.")
|
||||||
}
|
}
|
||||||
s.accountKey = os.Getenv("AZURE_STORAGE_ACCESS_KEY")
|
s.accountKey = os.Getenv("AZURE_STORAGE_ACCESS_KEY")
|
||||||
if s.accountKey == "" {
|
if s.accountKey == "" {
|
||||||
println("Please set the the following two environment variables to run the Azure storage tests.")
|
println("Please set the following two environment variables to run the Azure storage tests.")
|
||||||
println(" 1. AZURE_STORAGE_ACCOUNT")
|
println(" 1. AZURE_STORAGE_ACCOUNT")
|
||||||
println(" 2. AZURE_STORAGE_ACCESS_KEY")
|
println(" 2. AZURE_STORAGE_ACCESS_KEY")
|
||||||
c.Skip("AZURE_STORAGE_ACCESS_KEY not set.")
|
c.Skip("AZURE_STORAGE_ACCESS_KEY not set.")
|
||||||
|
|||||||
Reference in New Issue
Block a user