Skip to content

Commit 9f5d68d

Browse files
committed
add dev to possible versions
1 parent 355465b commit 9f5d68d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/common/parse_client.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,14 @@ func parseVersion(s string) (Version, error) {
277277
}, nil
278278
}
279279

280+
if s == "dev" {
281+
return Version{
282+
version: "dev",
283+
versionNum: []uint64{0},
284+
Build: Unknown,
285+
}, nil
286+
}
287+
280288
if s == "vnull" || s == "vunspecified" || s == "custom" {
281289
return Version{
282290
version: "null",

0 commit comments

Comments
 (0)