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

Commit

Permalink
Bugfixes sematext.
Browse files Browse the repository at this point in the history
  • Loading branch information
u220374 committed Feb 23, 2018
1 parent 62a78de commit 8f1cd63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
package cmd

import (
"encoding/json"
"fmt"
"os"
"encoding/json"
"path/filepath"
"runtime"
"strings"
"path/filepath"

"github.com/op/go-logging"
"github.com/oscp/openshift-monitoring-checks/checks"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/oscp/openshift-monitoring-checks/checks"
)

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

if len(viper.GetString("registry.ip")) > 0 {
if err := checks.CheckRegistryHealth(viper.GetString("registry.ip")); err != nil {
data.Events = append(data.Events, createMajorEvent(err))
data.Events = append(data.Events, createMajorEvent(err))
}
}

Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@ import (
func main() {
cmd.Execute()
}


0 comments on commit 8f1cd63

Please sign in to comment.