jobrun: rename to jobmetadata

This commit is contained in:
Christian Schwarz
2017-09-01 14:10:12 +02:00
parent 6ab05ee1fa
commit 3070d156a3
3 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func cmdAutosnap(cmd *cobra.Command, args []string) {
os.Exit(1)
}
job := jobrun.Job{
job := jobrun.JobMetadata{
Name: snap.JobName,
RepeatStrategy: snap.Interval,
RunFunc: func(log jobrun.Logger) error {