adding some coverage for some error cases
This commit is contained in:
2 files changed
+118
-1
No files matched your search
+1
-1
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user