Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
fix: Added missing InsecureSecrets section
Browse files Browse the repository at this point in the history
Signed-off-by: lenny <leonard.goodell@intel.com>
  • Loading branch information
lenny committed May 12, 2021
1 parent 4b5482a commit f0ed56a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ GIT_SHA=$(shell git rev-parse HEAD)
GOFLAGS=-ldflags "-X github.com/edgexfoundry/device-random.Version=$(VERSION)"

build: $(MICROSERVICES)
$(GOCGO) build ./...

cmd/device-random:
go mod tidy
$(GOCGO) build $(GOFLAGS) -o $@ ./cmd

test:
Expand Down
7 changes: 7 additions & 0 deletions cmd/res/configuration.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
[Writable]
LogLevel = 'INFO'
# InsecureSecrets are required for when Redis is used for message bus
[Writable.InsecureSecrets]
[Writable.InsecureSecrets.DB]
path = "redisdb"
[Writable.InsecureSecrets.DB.Secrets]
username = ""
password = ""

[Service]
BootTimeout = 30000
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/edgexfoundry/device-random

require (
github.com/edgexfoundry/device-sdk-go/v2 v2.0.0-dev.50
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.78
github.com/edgexfoundry/device-sdk-go/v2 v2.0.0-dev.58
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.83
github.com/hashicorp/go-sockaddr v1.0.1 // indirect
github.com/hashicorp/golang-lru v0.5.1 // indirect
)
Expand Down

0 comments on commit f0ed56a

Please sign in to comment.