Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
}

// Call function to create log flushing task
createdTask, err := client.CreateLogFlushingTask(newTask)
createdTask, err := client.QueueLogFlushingTask(newTask)
if err != nil {
log.Fatalf("Error creating log flushing task: %v", err)
}
Expand Down
4 changes: 2 additions & 2 deletions sdk/jamfpro/jamfproapi_log_flushing.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ func (c *Client) GetLogFlushingSettings() (*ResponseLogFlushingSettings, error)
return &out, nil
}

// QueueLogFlushingTaskLogFlushingTask creates a new log flushing task in Jamf Pro
func (c *Client) QueueLogFlushingTaskLogFlushingTask(task *ResourceLogFlushingTask) (*ResponseLogFlushingTaskCreated, error) {
// QueueLogFlushingTaskcreates a new log flushing task in Jamf Pro
func (c *Client) QueueLogFlushingTask(task *ResourceLogFlushingTask) (*ResponseLogFlushingTaskCreated, error) {
endpoint := fmt.Sprintf("%s/task", uriLogFlushing)

var response ResponseLogFlushingTaskCreated
Expand Down
Loading