add output message
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2023-07-21 11:34:00 +10:00
1 parent 955f07b4d7
commit e2e5f320ae
1 file changed
+2
+2
View File
@@ -18,6 +18,7 @@ type Output struct {
AuthSuccess bool
Error string
CertLoaded bool
Results string
}
func GetFilePath(path string) string {
@@ -171,6 +172,7 @@ func main() {
return
} else {
output.AuthSuccess = true
output.Results = fmt.Sprintf("Search result count: %d", len(result.Entries))
b, _ := json.Marshal(output)
fmt.Println(string(b))
return