summaryrefslogtreecommitdiff
path: root/internal/config/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/server.go')
-rw-r--r--internal/config/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/config/server.go b/internal/config/server.go
index 4166fd3..83ff45f 100644
--- a/internal/config/server.go
+++ b/internal/config/server.go
@@ -14,7 +14,7 @@ type Permissions struct {
}
// JobCommons summarises common job fields
-type JobCommons struct {
+type jobCommons struct {
Name string
Enable bool
Files string
@@ -27,13 +27,13 @@ type JobCommons struct {
// Scheduled allows to configure scheduled mapreduce jobs.
type Scheduled struct {
- JobCommons
+ jobCommons
TimeRange [2]int
}
// Continuous allows to configure continuous running mapreduce jobs.
type Continuous struct {
- JobCommons
+ jobCommons
RestartOnDayChange bool `json:",omitempty"`
}