Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Tingaikin <[email protected]>
  • Loading branch information
denis-tingaikin committed May 19, 2024
1 parent 6b0fbf3 commit 2a84bee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ linters:
- depguard
- dogsled
- dupl
- errcheck
- funlen
- gochecknoinits
- goconst
Expand All @@ -141,7 +140,6 @@ linters:
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2023 Cisco and/or its affiliates.
//
// Copyright (c) 2021-2023 Doc.ai and/or its affiliates.
//
// Copyright (c) 2020-2024 Cisco and/or its affiliates.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -40,7 +40,7 @@ import (

func main() {
go func() {
http.ListenAndServe("localhost:6060", nil)
_ = http.ListenAndServe("localhost:6060", nil)
}()
// Setup context to catch signals
ctx, cancel := signal.NotifyContext(
Expand Down

0 comments on commit 2a84bee

Please sign in to comment.