mirror of https://github.com/databricks/cli.git
Mark artifacts properties as optional (#834)
## Changes Mark artifacts properties as optional Fixes #816
This commit is contained in:
parent
40ae23bb33
commit
9b6a847178
|
@ -37,12 +37,12 @@ type Artifact struct {
|
||||||
|
|
||||||
// The local path to the directory with a root of artifact,
|
// The local path to the directory with a root of artifact,
|
||||||
// for example, where setup.py is for Python projects
|
// for example, where setup.py is for Python projects
|
||||||
Path string `json:"path"`
|
Path string `json:"path,omitempty"`
|
||||||
|
|
||||||
// The relative or absolute path to the built artifact files
|
// The relative or absolute path to the built artifact files
|
||||||
// (Python wheel, Java jar and etc) itself
|
// (Python wheel, Java jar and etc) itself
|
||||||
Files []ArtifactFile `json:"files"`
|
Files []ArtifactFile `json:"files,omitempty"`
|
||||||
BuildCommand string `json:"build"`
|
BuildCommand string `json:"build,omitempty"`
|
||||||
|
|
||||||
paths.Paths
|
paths.Paths
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue