adding some coverage for some error cases

This commit is contained in:
Chris Marchesi committed 2021-09-27 16:47:51 -07:00
1 parent 8db12c2775
commit d98e41f91c
2 files changed
+118 -1

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ func (p *AwsPlugin) OnCreateCatalog(ctx context.Context, req *pb.OnCreateCatalog
}
attrs := catalog.GetAttributes()
if secrets == nil {
if attrs == nil {
return nil, errors.New("attributes are required")
}