File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -3386,7 +3386,7 @@ TRITONSERVER_MetricArgsNew(TRITONSERVER_MetricArgs** args)
33863386 *args = reinterpret_cast <TRITONSERVER_MetricArgs*>(largs);
33873387 return nullptr ; // Success
33883388#else
3389- *metrics = nullptr ;
3389+ *args = nullptr ;
33903390 return TRITONSERVER_ErrorNew (
33913391 TRITONSERVER_ERROR_UNSUPPORTED, " metrics not supported" );
33923392#endif // TRITON_ENABLE_METRICS
@@ -3402,7 +3402,6 @@ TRITONSERVER_MetricArgsSetHistogram(
34023402 largs->SetHistogramArgs (buckets, buckets_count);
34033403 return nullptr ; // Success
34043404#else
3405- *metrics = nullptr ;
34063405 return TRITONSERVER_ErrorNew (
34073406 TRITONSERVER_ERROR_UNSUPPORTED, " metrics not supported" );
34083407#endif // TRITON_ENABLE_METRICS
You can’t perform that action at this time.
0 commit comments