Skip to content

Commit e5ead63

Browse files
committed
fix getKmeshWaypointImage tag
Signed-off-by: silenceper <[email protected]>
1 parent 3a81bcc commit e5ead63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ctl/waypoint/waypoint.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ func getKmeshWaypointImage() string {
630630
}
631631

632632
ver := version.Get().GitVersion
633+
// if ver prefix with v, remove it
634+
ver = strings.TrimPrefix(ver, "v")
633635

634636
return fmt.Sprintf("ghcr.io/kmesh-net/waypoint:v%s", ver)
635637
}

0 commit comments

Comments
 (0)