Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

just for testing purposes #21

Merged
merged 3 commits into from
May 13, 2018
Merged

just for testing purposes #21

merged 3 commits into from
May 13, 2018

Conversation

golangci
Copy link
Collaborator

No description provided.

@@ -67,10 +67,10 @@ func trackMemoryEveryNSeconds(ctx context.Context, name string, pid int) {
}
}

func (s shell) wait(ctx context.Context, name string, pid int, outReader io.ReadCloser) []string {
func (s shell) wait(ctx context.Context, name string, childPid int, outReader io.ReadCloser) []string {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outReader can be io.Reader

@@ -28,7 +28,9 @@ func getHTTPClient() *http.Client {
}

tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

G402: TLS InsecureSkipVerify set true.

@golangci golangci force-pushed the feature/test-golangci-lint branch from c298973 to 488ad3c Compare May 13, 2018 14:39
UserId: userID,
EventType: string(eventName),
EventProperties: eventProps,
})
}
ac.Publish(ev)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error return value of ac.Publish is not checked

@@ -28,7 +28,9 @@ func getHTTPClient() *http.Client {
}

tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

G402: TLS InsecureSkipVerify set true.

@@ -67,10 +67,10 @@ func trackMemoryEveryNSeconds(ctx context.Context, name string, pid int) {
}
}

func (s shell) wait(ctx context.Context, name string, pid int, outReader io.ReadCloser) []string {
func (s shell) wait(ctx context.Context, name string, childPid int, outReader io.ReadCloser) []string {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outReader can be io.Reader

@@ -67,10 +67,10 @@ func trackMemoryEveryNSeconds(ctx context.Context, name string, pid int) {
}
}

func (s shell) wait(ctx context.Context, name string, pid int, outReader io.ReadCloser) []string {
func (s shell) wait(ctx context.Context, name string, childPid int, outReader io.ReadCloser) []string {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outReader can be io.Reader

@@ -28,7 +28,9 @@ func getHTTPClient() *http.Client {
}

tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

G402: TLS InsecureSkipVerify set true.

UserId: userID,
EventType: string(eventName),
EventProperties: eventProps,
})
}
ac.Publish(ev)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error return value of ac.Publish is not checked

UserId: userID,
EventType: string(eventName),
EventProperties: eventProps,
})
}
ac.Publish(ev)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error return value of ac.Publish is not checked

@@ -28,7 +28,9 @@ func getHTTPClient() *http.Client {
}

tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

G402: TLS InsecureSkipVerify set true.

@@ -67,10 +67,10 @@ func trackMemoryEveryNSeconds(ctx context.Context, name string, pid int) {
}
}

func (s shell) wait(ctx context.Context, name string, pid int, outReader io.ReadCloser) []string {
func (s shell) wait(ctx context.Context, name string, childPid int, outReader io.ReadCloser) []string {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outReader can be io.Reader

@golangci golangci force-pushed the feature/test-golangci-lint branch from 488ad3c to c6d88cd Compare May 13, 2018 14:48
@golangci golangci force-pushed the feature/test-golangci-lint branch from c6d88cd to 5d119ec Compare May 13, 2018 14:50
@golangci golangci merged commit 13851b8 into master May 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants