Fix Support Packet v2 version number (#30723)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4e337b9a43
Коммит
924ed4ae02
@@ -198,7 +198,7 @@ func TestGetSupportPacketDiagnostics(t *testing.T) {
|
|||||||
t.Run("Happy path", func(t *testing.T) {
|
t.Run("Happy path", func(t *testing.T) {
|
||||||
d := getDiagnostics(t)
|
d := getDiagnostics(t)
|
||||||
|
|
||||||
assert.Equal(t, 1, d.Version)
|
assert.Equal(t, 2, d.Version)
|
||||||
|
|
||||||
/* License */
|
/* License */
|
||||||
assert.Equal(t, "My awesome Company", d.License.Company)
|
assert.Equal(t, "My awesome Company", d.License.Company)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CurrentSupportPacketVersion = 1
|
CurrentSupportPacketVersion = 2
|
||||||
SupportPacketErrorFile = "warning.txt"
|
SupportPacketErrorFile = "warning.txt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user