Skip to content

Commit

Permalink
[#233] Wrong default value of postBootstrapFile flag
Browse files Browse the repository at this point in the history
Signed-off-by: Antonia Avramova [email protected]
  • Loading branch information
antonia-avramova authored Jun 6, 2023
1 parent c3a39aa commit ff20fa1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion integration/c2e-setup/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/caarlos0/env/v6 v6.10.1
github.com/eclipse-kanto/kanto/integration/util v0.0.0-20230512120457-c081b6733173
github.com/eclipse-kanto/kanto/integration/util v0.0.0-20230602090336-c3a39aa38f00
)

require (
Expand Down
4 changes: 2 additions & 2 deletions integration/c2e-setup/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ github.com/caarlos0/env/v6 v6.10.1/go.mod h1:hvp/ryKXKipEkcuYjs9mI4bBCg+UI0Yhgm5
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/eclipse-kanto/kanto/integration/util v0.0.0-20230512120457-c081b6733173 h1:+eZ5rAZHPnM5dhKOggkbmvQY3/j0qOV/9v6dQCmYJCo=
github.com/eclipse-kanto/kanto/integration/util v0.0.0-20230512120457-c081b6733173/go.mod h1:Dscvhc6K9RHiioYjZiQooqs13ffkPBhEvdlL4KdsJXs=
github.com/eclipse-kanto/kanto/integration/util v0.0.0-20230602090336-c3a39aa38f00 h1:Ft+6pyTIZnMw5juji+nd2W+9VAHvEATTDKYrjviOiTw=
github.com/eclipse-kanto/kanto/integration/util v0.0.0-20230602090336-c3a39aa38f00/go.mod h1:Dscvhc6K9RHiioYjZiQooqs13ffkPBhEvdlL4KdsJXs=
github.com/eclipse/ditto-clients-golang v0.0.0-20220225085802-cf3b306280d3 h1:bfFGs26yNSfhSi6xmnmykB0jZn1Vu5e1/7JA5Wu5aGc=
github.com/eclipse/ditto-clients-golang v0.0.0-20220225085802-cf3b306280d3/go.mod h1:ey7YwfHSQJsinGkGbgeEgqZA7qJnoB0YiFVTFEY50Jg=
github.com/eclipse/paho.mqtt.golang v1.3.5/go.mod h1:eTzb4gxwwyWpqBUHGQZ4ABAV7+Jgm1PklsYT/eo8Hcc=
Expand Down
6 changes: 3 additions & 3 deletions integration/c2e-setup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func main() {
flag.StringVar(&bootstrapCaCert, "bootstrapCaCert", "/etc/suite-bootstrapping/iothub.crt", "Path to Suite Bootstrapping CA certificates file")
flag.StringVar(&logBootstrapFile, "logBootstrapFile", "/var/log/suite-bootstrapping/suite-bootstrapping.log",
"Path to Suite Bootstrapping log file")
flag.StringVar(&postBootstrapFile, "postBootstrapFile", "/etc/suite-config/config.json",
flag.StringVar(&postBootstrapFile, "postBootstrapFile", "/etc/suite-connector/config.json",
"Path to the file used for a bootstrapping response data")
flag.StringVar(&postBootstrapScript, "postBootstrapScript", "/var/tmp/suite-bootstrapping/post_script.sh",
"Path to the script that is executed after a bootstrapping response")
Expand Down Expand Up @@ -412,8 +412,8 @@ func writeConfigBootstrapFile(path string) error {

func writeConfigLdtFile(path string) error {
type ldtConnectorConfig struct {
CaCert string `json:"caCert"`
LogFile string `json:"logFile"`
CaCert string `json:"ldtCaCert"`
LogFile string `json:"logLdtFile"`
Address string `json:"address"`
TenantID string `json:"tenantId"`
DeviceID string `json:"deviceId"`
Expand Down

0 comments on commit ff20fa1

Please sign in to comment.