cleanup: fix comments spacing (#8015)

This commit is contained in:
Purnesh Dixit 2025-01-17 11:58:35 +05:30 committed by GitHub
parent 89093a368e
commit c879198e3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1182,7 +1182,7 @@ func (s) TestServerConnDecoupledFromApplicationRead(t *testing.T) {
if err := cstream1.Write(nil, newBufferSlice(make([]byte, defaultWindowSize)), &WriteOptions{Last: true}); err != nil { if err := cstream1.Write(nil, newBufferSlice(make([]byte, defaultWindowSize)), &WriteOptions{Last: true}); err != nil {
t.Fatalf("Client failed to write data. Err: %v", err) t.Fatalf("Client failed to write data. Err: %v", err)
} }
//Client should be able to create another stream and send data on it. // Client should be able to create another stream and send data on it.
cstream2, err := client.NewStream(ctx, &CallHdr{}) cstream2, err := client.NewStream(ctx, &CallHdr{})
if err != nil { if err != nil {
t.Fatalf("Failed to create 2nd stream. Err: %v", err) t.Fatalf("Failed to create 2nd stream. Err: %v", err)

View File

@ -290,7 +290,7 @@ func (e *engine) doAuditLogging(rpcData *rpcData, rule string, authorized bool)
} }
} }
//TODO(gtcooke94) check if we need to log before creating the event // TODO(gtcooke94) check if we need to log before creating the event
event := &audit.Event{ event := &audit.Event{
FullMethodName: rpcData.fullMethod, FullMethodName: rpcData.fullMethod,
Principal: principal, Principal: principal,

View File

@ -156,7 +156,7 @@ func DoSoakTest(ctx context.Context, soakConfig SoakTestConfig) {
// Wait for all goroutines to complete. // Wait for all goroutines to complete.
wg.Wait() wg.Wait()
//Handle results. // Handle results.
totalIterations := 0 totalIterations := 0
totalFailures := 0 totalFailures := 0
latencies := stats.NewHistogram(stats.HistogramOptions{ latencies := stats.NewHistogram(stats.HistogramOptions{