chore(cmd/influxd): rename idpd to influxd

pull/10616/head
Chris Goller 2018-08-31 12:52:40 -05:00
parent 0388d2e391
commit 0ecb5aaefc
4 changed files with 7 additions and 7 deletions

4
.gitignore vendored
View File

@ -5,14 +5,14 @@ vendor
.tern-project
# binary databases
idpdb.bolt
influxd.bolt
# Project distirbution
/dist
# Project binaries.
/influx
/idpd
/influxd
/fluxd
/transpilerd
/bin

View File

@ -35,7 +35,7 @@ SOURCES_NO_VENDOR := $(shell find . -path ./vendor -prune -o -name "*.go" -not -
# List of binary cmds to build
CMDS := \
bin/$(GOOS)/influx \
bin/$(GOOS)/idpd \
bin/$(GOOS)/influxd \
bin/$(GOOS)/fluxd
# List of utilities to build as part of the build process

View File

@ -91,7 +91,7 @@ func init() {
authorizationPath = h
}
platformCmd.Flags().StringVar(&boltPath, "bolt-path", "idpdb.bolt", "path to boltdb database")
platformCmd.Flags().StringVar(&boltPath, "bolt-path", "influxd.bolt", "path to boltdb database")
viper.BindEnv("BOLT_PATH")
if h := viper.GetString("BOLT_PATH"); h != "" {
boltPath = h
@ -111,7 +111,7 @@ func init() {
}
var platformCmd = &cobra.Command{
Use: "idpd",
Use: "influxd",
Short: "influxdata platform",
Run: platformF,
}

View File

@ -18,8 +18,8 @@ func NewQueryService(s *platform.Source) (query.ProxyQueryService, error) {
// how services are instantiated
return nil, fmt.Errorf("self source type not implemented")
case platform.V2SourceType:
// This is an idpd that calls another idpd, the query path is /v1/query - in future /v2/query
// it basically is the same as Self but on an external idpd
// This is an influxd that calls another influxd, the query path is /v1/query - in future /v2/query
// it basically is the same as Self but on an external influxd.
return &http.SourceProxyQueryService{
InsecureSkipVerify: s.InsecureSkipVerify,
URL: s.URL,