Fix comment for GetSessionLogs method
This commit is contained in:
parent
e5e7bc8ad6
commit
ab796c80ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue