Files
cloudpods/pkg/util/nodeid/nodeid_test.go
Qiu Jian 21558d3dd2 final commit
Conflicts:
	pkg/cloudcommon/policy/policy.go
	pkg/util/azure/storagecache.go
2018-12-26 23:02:19 +08:00

15 lines
189 B
Go

package nodeid
import (
"testing"
)
func TestGetNodeId(t *testing.T) {
idstr, err := GetNodeId()
if err != nil {
t.Errorf("error %s", err)
} else {
t.Logf("ID is %s", idstr)
}
}