Fix comment for GetSessionLogs method

This commit is contained in:
Kynan Ware 2025-09-15 13:07:00 -06:00
parent e5e7bc8ad6
commit ab796c80ef

View file

@ -241,7 +241,7 @@ func (c *CAPIClient) GetSession(ctx context.Context, id string) (*Session, error
return sessions[0], nil
}
// GetSession retrieves logs of an agent session identified by ID.
// GetSessionLogs retrieves logs of an agent session identified by ID.
func (c *CAPIClient) GetSessionLogs(ctx context.Context, id string) ([]byte, error) {
if id == "" {
return nil, fmt.Errorf("missing session ID")