diff options
| author | gy95 <guoyao17@huawei.com> | 2021-09-27 15:25:27 +0800 |
|---|---|---|
| committer | gy95 <guoyao17@huawei.com> | 2021-09-27 15:33:34 +0800 |
| commit | fea7d9cceeccff8dbc687a299b05fb600a7d603a (patch) | |
| tree | 648c41a18d9f7ea024cc1973c02a49e30ea3296a /tests/e2e/utils | |
| parent | Merge pull request #3199 from zc2638/approver (diff) | |
| download | kubeedge-fea7d9cceeccff8dbc687a299b05fb600a7d603a.tar.gz | |
replace archived golint with revive
Signed-off-by: gy95 <guoyao17@huawei.com>
Diffstat (limited to 'tests/e2e/utils')
| -rw-r--r-- | tests/e2e/utils/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e2e/utils/config.go b/tests/e2e/utils/config.go index c23275efd..2ece5f036 100644 --- a/tests/e2e/utils/config.go +++ b/tests/e2e/utils/config.go @@ -68,7 +68,7 @@ func loadConfigJSOMFromPath() *Config { Infof("Failed to get Abs path: %v", err) panic(err) } - var config *Config = &Config{} + var config = &Config{} configFile, err := os.Open(path) if err != nil { panic(err) |
