Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafain117 committed Feb 13, 2024
1 parent 1f7b048 commit c409065
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cmd/deserializer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ import (
"encoding/json"
"flag"
"fmt"
"io"
"log"
"os"
"strings"

"github.com/cortexproject/cortex/pkg/alertmanager/alertspb"
"github.com/gogo/protobuf/proto"
"github.com/matttproud/golang_protobuf_extensions/pbutil"
"github.com/prometheus/alertmanager/nflog/nflogpb"
"github.com/prometheus/alertmanager/silence/silencepb"
"io"
"log"
"os"
"strings"
)

var (
out bytes.Buffer
out bytes.Buffer
outputFile string
intputFile string
)
Expand Down Expand Up @@ -114,7 +115,7 @@ func outputToFile(file string) {
// write to stdout if output file not specified
fmt.Print(out.String())
return
}
}
fo, err := os.Create(file)
if err != nil {
panic(err)
Expand Down

0 comments on commit c409065

Please sign in to comment.