We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24f6df9 commit 258b1acCopy full SHA for 258b1ac
1 file changed
cmd/src/search_jobs.go
@@ -155,12 +155,7 @@ func parseColumns(columnsFlag string) []string {
155
156
// createSearchJobsClient creates a reusable API client for search jobs commands
157
func createSearchJobsClient(out *flag.FlagSet, apiFlags *api.Flags) api.Client {
158
- return api.NewClient(api.ClientOpts{
159
- EndpointURL: cfg.endpointURL,
160
- AccessToken: cfg.accessToken,
161
- Out: out.Output(),
162
- Flags: apiFlags,
163
- })
+ return cfg.apiClient(apiFlags, out.Output())
164
}
165
166
// parseSearchJobsArgs parses command arguments with the provided flag set
0 commit comments