aboutsummaryrefslogtreecommitdiff
path: root/job/job.go
diff options
context:
space:
mode:
authorJulien Dessaux2020-02-11 22:20:47 +0100
committerJulien Dessaux2020-02-11 22:21:29 +0100
commit88757ef736987f23ca9404a1e0e71f04e35132e4 (patch)
treee912e985ffe0bf83fcfb61227ec7c5d7dfdf9ce8 /job/job.go
parentAdded LICENSE (diff)
downloadbareos-zabbix-check-88757ef736987f23ca9404a1e0e71f04e35132e4.tar.gz
bareos-zabbix-check-88757ef736987f23ca9404a1e0e71f04e35132e4.tar.bz2
bareos-zabbix-check-88757ef736987f23ca9404a1e0e71f04e35132e4.zip
Added tests for job package
Diffstat (limited to '')
-rw-r--r--job/job.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/job/job.go b/job/job.go
index e15b2eb..4241844 100644
--- a/job/job.go
+++ b/job/job.go
@@ -10,5 +10,5 @@ type Job struct {
}
func (job Job) String() string {
- return fmt.Sprintf("Name: \"%s\", Timestamp: \"%d\", Success: \"%t\"", job.Name, job.Timestamp, job.Success)
+ return fmt.Sprintf("Job { Name: \"%s\", Timestamp: \"%d\", Success: \"%t\" }", job.Name, job.Timestamp, job.Success)
}