diff --git a/pkg/blockstorage/awsebs/awsebs_test.go b/pkg/blockstorage/awsebs/awsebs_test.go index 5859ae100a..ff4794f86f 100644 --- a/pkg/blockstorage/awsebs/awsebs_test.go +++ b/pkg/blockstorage/awsebs/awsebs_test.go @@ -107,5 +107,5 @@ func (s AWSEBSSuite) TestGetRegions(c *check.C) { regions, err := ebsp.GetRegions(ctx) c.Assert(err, check.IsNil) - c.Assert(regions, check.IsNil) + c.Assert(regions, check.NotNil) }