Skip to content

Commit

Permalink
Bump osctrl to 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
javuto committed Nov 6, 2020
1 parent cbff3b9 commit 04c63f1
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 40 deletions.
22 changes: 11 additions & 11 deletions admin/handlers/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ require (
github.com/gorilla/mux v1.7.4
github.com/gorilla/sessions v1.2.0 // indirect
github.com/jinzhu/gorm v1.9.12
github.com/jmpsec/osctrl/admin/sessions v0.2.2
github.com/jmpsec/osctrl/carves v0.2.2
github.com/jmpsec/osctrl/environments v0.2.2
github.com/jmpsec/osctrl/logging v0.2.2
github.com/jmpsec/osctrl/metrics v0.2.2
github.com/jmpsec/osctrl/nodes v0.2.2
github.com/jmpsec/osctrl/queries v0.2.2
github.com/jmpsec/osctrl/settings v0.2.2
github.com/jmpsec/osctrl/admin/sessions v0.2.3
github.com/jmpsec/osctrl/carves v0.2.3
github.com/jmpsec/osctrl/environments v0.2.3
github.com/jmpsec/osctrl/logging v0.2.3
github.com/jmpsec/osctrl/metrics v0.2.3
github.com/jmpsec/osctrl/nodes v0.2.3
github.com/jmpsec/osctrl/queries v0.2.3
github.com/jmpsec/osctrl/settings v0.2.3
github.com/jmpsec/osctrl/tags v0.0.0-20200527045717-0e3b5d71cf19
github.com/jmpsec/osctrl/types v0.2.2
github.com/jmpsec/osctrl/users v0.2.2
github.com/jmpsec/osctrl/utils v0.2.2
github.com/jmpsec/osctrl/types v0.2.3
github.com/jmpsec/osctrl/users v0.2.3
github.com/jmpsec/osctrl/utils v0.2.3
)

replace github.com/jmpsec/osctrl/carves => ../../carves
Expand Down
2 changes: 1 addition & 1 deletion admin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
// Service name
serviceName string = projectName + "-" + settings.ServiceAdmin
// Service version
serviceVersion string = "0.2.2"
serviceVersion string = "0.2.3"
// Service description
serviceDescription string = "Admin service for osctrl"
// Application description
Expand Down
2 changes: 1 addition & 1 deletion admin/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ func loadingMetrics(mgr *settings.Settings) (*metrics.Metrics, error) {
}
_m, err := metrics.CreateMetrics(_mCfg.Protocol, _mCfg.Host, _mCfg.Port, serviceName)
if err != nil {
return nil, fmt.Errorf("Failed to initialize metrics: %v", err)
if err := mgr.SetBoolean(false, settings.ServiceAdmin, settings.ServiceMetrics); err != nil {
return nil, fmt.Errorf("Failed to disable metrics: %v", err)
}
return nil, fmt.Errorf("Failed to initialize metrics: %v", err)
}
return _m, nil
}
Expand Down
2 changes: 1 addition & 1 deletion api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
// Service name
serviceName string = projectName + "-" + settings.ServiceAPI
// Service version
serviceVersion string = "0.2.2"
serviceVersion string = "0.2.3"
// Service description
serviceDescription string = "API service for osctrl"
// Application description
Expand Down
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
// Application name
appName string = projectName + "-cli"
// Application version
appVersion string = "0.2.2"
appVersion string = "0.2.3"
// Application usage
appUsage string = "CLI for " + projectName
// Application description
Expand Down
30 changes: 15 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ require (
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/gorilla/mux v1.7.4
github.com/jinzhu/gorm v1.9.12
github.com/jmpsec/osctrl/admin/handlers v0.2.2
github.com/jmpsec/osctrl/admin/sessions v0.2.2
github.com/jmpsec/osctrl/backend v0.2.2
github.com/jmpsec/osctrl/carves v0.2.2
github.com/jmpsec/osctrl/environments v0.2.2
github.com/jmpsec/osctrl/logging v0.2.2
github.com/jmpsec/osctrl/metrics v0.2.2
github.com/jmpsec/osctrl/nodes v0.2.2
github.com/jmpsec/osctrl/queries v0.2.2
github.com/jmpsec/osctrl/settings v0.2.2
github.com/jmpsec/osctrl/tags v0.2.2
github.com/jmpsec/osctrl/tls/handlers v0.2.2
github.com/jmpsec/osctrl/types v0.2.2
github.com/jmpsec/osctrl/users v0.2.2
github.com/jmpsec/osctrl/utils v0.2.2
github.com/jmpsec/osctrl/admin/handlers v0.2.3
github.com/jmpsec/osctrl/admin/sessions v0.2.3
github.com/jmpsec/osctrl/backend v0.2.3
github.com/jmpsec/osctrl/carves v0.2.3
github.com/jmpsec/osctrl/environments v0.2.3
github.com/jmpsec/osctrl/logging v0.2.3
github.com/jmpsec/osctrl/metrics v0.2.3
github.com/jmpsec/osctrl/nodes v0.2.3
github.com/jmpsec/osctrl/queries v0.2.3
github.com/jmpsec/osctrl/settings v0.2.3
github.com/jmpsec/osctrl/tags v0.2.3
github.com/jmpsec/osctrl/tls/handlers v0.2.3
github.com/jmpsec/osctrl/types v0.2.3
github.com/jmpsec/osctrl/users v0.2.3
github.com/jmpsec/osctrl/utils v0.2.3
github.com/olekukonko/tablewriter v0.0.4
github.com/russellhaering/goxmldsig v0.0.0-20180430223755-7acd5e4a6ef7 // indirect
github.com/spf13/viper v1.6.2
Expand Down
18 changes: 9 additions & 9 deletions tls/handlers/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ go 1.14

require (
github.com/gorilla/mux v1.6.2
github.com/jmpsec/osctrl/carves v0.2.2
github.com/jmpsec/osctrl/environments v0.2.2
github.com/jmpsec/osctrl/logging v0.2.2
github.com/jmpsec/osctrl/metrics v0.2.2
github.com/jmpsec/osctrl/nodes v0.2.2
github.com/jmpsec/osctrl/queries v0.2.2
github.com/jmpsec/osctrl/settings v0.2.2
github.com/jmpsec/osctrl/carves v0.2.3
github.com/jmpsec/osctrl/environments v0.2.3
github.com/jmpsec/osctrl/logging v0.2.3
github.com/jmpsec/osctrl/metrics v0.2.3
github.com/jmpsec/osctrl/nodes v0.2.3
github.com/jmpsec/osctrl/queries v0.2.3
github.com/jmpsec/osctrl/settings v0.2.3
github.com/jmpsec/osctrl/tags v0.0.0-20200527045717-0e3b5d71cf19
github.com/jmpsec/osctrl/types v0.2.2
github.com/jmpsec/osctrl/utils v0.2.2
github.com/jmpsec/osctrl/types v0.2.3
github.com/jmpsec/osctrl/utils v0.2.3
github.com/segmentio/ksuid v1.0.2
github.com/stretchr/testify v1.5.1
)
Expand Down
2 changes: 1 addition & 1 deletion tls/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
// Service name
serviceName string = projectName + "-" + settings.ServiceTLS
// Service version
serviceVersion string = "0.2.2"
serviceVersion string = "0.2.3"
// Service description
serviceDescription string = "TLS service for osctrl"
// Application description
Expand Down

0 comments on commit 04c63f1

Please sign in to comment.