changed config_version to config_version_string and fixed yaml for build
This commit is contained in:
parent
e8ef2ddcd5
commit
ea05d8a5e3
|
@ -30,5 +30,5 @@
|
|||
last_run: 1444936531
|
||||
cron: 0.000584
|
||||
version:
|
||||
config: 1444936521
|
||||
puppet: "3.7.5"
|
||||
config: "branch:d6018ce"
|
||||
puppet: "3.7.5"
|
||||
|
|
|
@ -68,8 +68,8 @@ type time struct {
|
|||
}
|
||||
|
||||
type version struct {
|
||||
Config string `yaml:"config"`
|
||||
Puppet string `yaml:"puppet"`
|
||||
Config_string string `yaml:"config"`
|
||||
Puppet string `yaml:"puppet"`
|
||||
}
|
||||
|
||||
// SampleConfig returns sample configuration message
|
||||
|
|
|
@ -28,7 +28,7 @@ func TestGather(t *testing.T) {
|
|||
"resources_outofsync": int64(0),
|
||||
"changes_total": int64(0),
|
||||
"time_lastrun": int64(1444936531),
|
||||
"version_config": "branch:d6018ce",
|
||||
"version_config_string": "branch:d6018ce",
|
||||
"time_user": float64(0.004331),
|
||||
"time_schedule": float64(0.001123),
|
||||
"time_filebucket": float64(0.000353),
|
||||
|
|
Loading…
Reference in New Issue