Skip to content

Commit 179c178

Browse files
committed
Add some review fixes
1 parent f1b903f commit 179c178

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

rules/ssh.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
// (c) Copyright 2016 Hewlett Packard Enterprise Development LP
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
14-
151
package rules
162

173
import (

testutils/source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ import (
190190
"golang.org/x/crypto/ssh"
191191
)
192192
func main() {
193-
_ := ssh.InsecureIgnoreHostKey()
193+
_ = ssh.InsecureIgnoreHostKey()
194194
}`, 1}}
195195
// SampleCodeG201 - SQL injection via format string
196196
SampleCodeG201 = []CodeSample{

0 commit comments

Comments
 (0)