Skip to content

Commit f25ca7e

Browse files
committed
worked on PR review comments
1 parent 8965ed4 commit f25ca7e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

internal/collector/nginxossreceiver/internal/scraper/accesslog/nginx_log_scraper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (nls *NginxLogScraper) ID() component.ID {
104104
return component.NewID(metadata.Type)
105105
}
106106

107-
//nolint:unparam //// Result is always nil
107+
//nolint:unparam // Result is always nil
108108
func (nls *NginxLogScraper) Start(parentCtx context.Context, _ component.Host) error {
109109
nls.logger.Info("NGINX access log scraper started")
110110
ctx, cancel := context.WithCancel(parentCtx)

pkg/files/file_stream_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
var letters = []byte("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
2424

25-
//nolint:gosec // random number generater if fine for test case.
25+
//nolint:gosec // random number generater is fine for test case.
2626
func randBytes(n int) []byte {
2727
b := make([]byte, n)
2828
for i := range b {

test/integration/utils/grpc_management_plane_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func SetupConnectionTest(tb testing.TB, expectNoErrorsInLogs, nginxless, auxilia
9292

9393
// setupContainerEnvironment sets up the container environment for testing.
9494
//
95-
//nolint:revive // flag is required for container
95+
//nolint:revive // "auxiliaryServer" flag is required for container
9696
func setupContainerEnvironment(ctx context.Context, tb testing.TB, nginxless, auxiliaryServer bool,
9797
agentConfig string,
9898
) {

test/model/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func ConfigContext() *model.NginxConfigContext {
2222
}
2323
}
2424

25-
//nolint:revive // all the aruments are necessary.
25+
//nolint:revive // all the arguments are necessary.
2626
func ConfigContextWithNames(
2727
accessLogName,
2828
combinedAccessLogName,

0 commit comments

Comments
 (0)