Skip to content

Commit

Permalink
remove items type
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBlaskey committed Oct 25, 2023
1 parent 34c3cb3 commit 4460f2a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 68 deletions.
2 changes: 0 additions & 2 deletions master/pkg/schemas/expconf/log_pattern_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import (
)

// LogPoliciesConfigV0 is a list of log policies.
//
//go:generate ../gen.sh
type LogPoliciesConfigV0 []LogPolicyV0

// Merge implemenets the mergable interface.
Expand Down
21 changes: 0 additions & 21 deletions master/pkg/schemas/expconf/zgen_log_policies_config_v0.go

This file was deleted.

38 changes: 3 additions & 35 deletions master/pkg/schemas/zgen_schemas.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion schemas/expconf/v0/experiment.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@
"null"
],
"default": [],
"optionalRef": "http://determined.ai/schemas/expconf/v0/log-policies.json"
"items": {
"$ref": "http://determined.ai/schemas/expconf/v0/log-policy.json"
}
},
"max_restarts": {
"type": [
Expand Down
9 changes: 0 additions & 9 deletions schemas/expconf/v0/log-policies.json

This file was deleted.

0 comments on commit 4460f2a

Please sign in to comment.