Skip to content

Commit 9140581

Browse files
fix: No newline at end of file
1 parent 2a635ed commit 9140581

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

slo/src/Internal/Cli.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ public static async Task<int> Run<T>(SloContext<T> sloContext, string[] args) wh
113113

114114
return await RootCommand.InvokeAsync(args);
115115
}
116-
}
116+
}

slo/src/Internal/SloContext.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ public async Task Run(RunConfig runConfig)
131131
}
132132

133133
await prometheus.StopAsync();
134-
// await MetricReset(promPgwEndpoint);
135134

136135
Logger.LogInformation("Run task is finished");
137136
return;
@@ -248,13 +247,6 @@ Task ShootingTask(RateLimiter rateLimitPolicy, string operationType,
248247
}
249248
}
250249

251-
// private async Task MetricReset(string promPgwEndpoint)
252-
// {
253-
// var deleteUri = $"{promPgwEndpoint}/job/workload-{Job}";
254-
// using var httpClient = new HttpClient();
255-
// await httpClient.DeleteAsync(deleteUri);
256-
// }
257-
258250
// return attempt count & StatusCode operation
259251
protected abstract Task<(int, StatusCode)> Upsert(T client, string upsertSql,
260252
Dictionary<string, YdbValue> parameters,
@@ -315,4 +307,4 @@ public static string StatusName(this StatusCode statusCode)
315307
var prefix = statusCode >= StatusCode.ClientTransportResourceExhausted ? "GRPC" : "YDB";
316308
return $"{prefix}_{statusCode}";
317309
}
318-
}
310+
}

0 commit comments

Comments
 (0)