Skip to content

Commit c8b7dbb

Browse files
committed
genai: fix text of error message
1 parent 1046391 commit c8b7dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genai/caching.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ type CachedContentToUpdate struct {
9999
// All other fields of the argument CachedContent are ignored.
100100
func (c *Client) UpdateCachedContent(ctx context.Context, cc *CachedContent, ccu *CachedContentToUpdate) (*CachedContent, error) {
101101
if ccu == nil || ccu.Expiration == nil {
102-
return nil, errors.New("cloud.google.com/go/vertexai/genai.UpdateCachedContent: no update specified")
102+
return nil, errors.New("genai.UpdateCachedContent: no update specified")
103103
}
104104
cc2 := &CachedContent{
105105
Name: cc.Name,

0 commit comments

Comments
 (0)