Skip to content
This repository was archived by the owner on Mar 27, 2018. It is now read-only.

Commit 8f1cd63

Browse files
author
u220374
committed
Bugfixes sematext.
1 parent 62a78de commit 8f1cd63

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

cmd/root.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
package cmd
1616

1717
import (
18+
"encoding/json"
1819
"fmt"
1920
"os"
20-
"encoding/json"
21+
"path/filepath"
2122
"runtime"
2223
"strings"
23-
"path/filepath"
2424

2525
"github.com/op/go-logging"
26+
"github.com/oscp/openshift-monitoring-checks/checks"
2627
"github.com/spf13/cobra"
2728
"github.com/spf13/viper"
28-
"github.com/oscp/openshift-monitoring-checks/checks"
2929
)
3030

3131
var pretty bool
@@ -206,7 +206,7 @@ func runChecks(cmd *cobra.Command, args []string) {
206206

207207
if len(viper.GetString("registry.ip")) > 0 {
208208
if err := checks.CheckRegistryHealth(viper.GetString("registry.ip")); err != nil {
209-
data.Events = append(data.Events, createMajorEvent(err))
209+
data.Events = append(data.Events, createMajorEvent(err))
210210
}
211211
}
212212

main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,3 @@ import (
2121
func main() {
2222
cmd.Execute()
2323
}
24-
25-

0 commit comments

Comments
 (0)