Merge a78e4eb001 into 29b5b53189
This commit is contained in:
@@ -2,4 +2,4 @@ package version
|
|||||||
|
|
||||||
// VERSION is the app-global version string, which will be replaced with a
|
// VERSION is the app-global version string, which will be replaced with a
|
||||||
// new value during packaging
|
// new value during packaging
|
||||||
const VERSION = "1.0.0"
|
const VERSION = "0.1.0"
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ engine_version_metadata_path: 'collector/pkg/version/version.go'
|
|||||||
engine_cmd_test: 'go test -v -tags "static" $(go list ./... | grep -v /vendor/)'
|
engine_cmd_test: 'go test -v -tags "static" $(go list ./... | grep -v /vendor/)'
|
||||||
engine_golang_package_path: 'github.com/analogj/scrutiny'
|
engine_golang_package_path: 'github.com/analogj/scrutiny'
|
||||||
scm_enable_branch_cleanup: true
|
scm_enable_branch_cleanup: true
|
||||||
|
engine_disable_lint: true
|
||||||
scm_release_assets:
|
scm_release_assets:
|
||||||
- local_path: scrutiny-web-linux-amd64
|
- local_path: scrutiny-web-linux-amd64
|
||||||
artifact_name: scrutiny-web-linux-amd64
|
artifact_name: scrutiny-web-linux-amd64
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ func TestFromCollectorSmartInfo(t *testing.T) {
|
|||||||
//assert
|
//assert
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, smartMdl.DeviceWWN, "WWN-test")
|
require.Equal(t, smartMdl.DeviceWWN, "WWN-test")
|
||||||
require.Equal(t, smartMdl.SmartStatus, "PASSED")
|
require.Equal(t, smartMdl.SmartStatus, "passed")
|
||||||
|
|
||||||
//check that temperature was correctly parsed
|
//check that temperature was correctly parsed
|
||||||
for _, attr := range smartMdl.SmartAttributes {
|
for _, attr := range smartMdl.SmartAttributes {
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ package version
|
|||||||
|
|
||||||
// VERSION is the app-global version string, which will be replaced with a
|
// VERSION is the app-global version string, which will be replaced with a
|
||||||
// new value during packaging
|
// new value during packaging
|
||||||
const VERSION = "1.0.0"
|
const VERSION = "0.1.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user