Skip to content

Commit

Permalink
antctl: fix cluster checker image
Browse files Browse the repository at this point in the history
The image tag missed "v" when built for a released antctl.

Signed-off-by: Quan Tian <quan.tian@broadcom.com>
  • Loading branch information
tnqn committed Aug 1, 2024
1 parent a03c850 commit a4663e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/antctl/raw/check/cluster/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (t *testContext) setup(ctx context.Context) error {

func getAntreaAgentImage() string {
if version.ReleaseStatus == "released" {
return fmt.Sprintf("antrea/antrea-agent-ubuntu:%s", version.GetVersion())
return fmt.Sprintf("antrea/antrea-agent-ubuntu:%s", version.Version)
}
return "antrea/antrea-agent-ubuntu:latest"
}
Expand Down

0 comments on commit a4663e5

Please sign in to comment.