Merge pull request #128 from openziti/update-enroller-output

fix error that should be info
This commit is contained in:
dovholuknf
2020-06-27 09:11:23 -04:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -1,3 +1,10 @@
# Release 0.15.1
* What's New
* Bug fixes
* [#129](https://github.com/openziti/ziti/issues/129) - minor issue with `ziti-tunnel enroll` outputting the success message at ERROR level
# Release 0.15.0
Ziti 0.15.0 includes the following:
+1 -1
View File
@@ -145,7 +145,7 @@ func processEnrollment() error {
encErr := enc.Encode(&conf)
if encErr == nil {
logrus.Errorf("enrolled successfully. identity file written to: %s", outpath)
pfxlog.Logger().Infof("enrolled successfully. identity file written to: %s", outpath)
return nil
} else {
return fmt.Errorf("enrollment successful but the identity file was not able to be written to: %s [%s]", outpath, encErr)