mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-05 12:45:11 -05:00
update more tools
This commit is contained in:
@@ -234,7 +234,7 @@ func (t Tool) Invoke(ctx context.Context, resourceMgr tools.SourceProvider, para
|
||||
|
||||
service, err := source.GetService(ctx, string(accessToken))
|
||||
if err != nil {
|
||||
return nil, util.ProecessGcpError(err)
|
||||
return nil, util.ProcessGcpError(err)
|
||||
}
|
||||
|
||||
delay := t.Delay
|
||||
@@ -252,7 +252,7 @@ func (t Tool) Invoke(ctx context.Context, resourceMgr tools.SourceProvider, para
|
||||
|
||||
op, err := source.GetWaitForOperations(ctx, service, project, operationID, cloudSQLConnectionMessageTemplate, delay)
|
||||
if err != nil {
|
||||
return nil, util.ProecessGcpError(err)
|
||||
return nil, util.ProcessGcpError(err)
|
||||
} else if op != nil {
|
||||
return op, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user