Skip to content

Commit

Permalink
chore(version): remove leading v from version output (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrt committed Jun 30, 2022
1 parent e46dd0f commit a445758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openshift-provider-cert
openshift-provider-cert-*
kubeconfig
.idea/

Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type VersionContext struct {
}

func (vc *VersionContext) String() string {
return fmt.Sprintf("OpenShift Provider Certification Tool: v%s+%s", vc.Version, vc.Commit)
return fmt.Sprintf("OpenShift Provider Certification Tool: %s+%s", vc.Version, vc.Commit)
}
func NewCmdVersion() *cobra.Command {
return &cobra.Command{
Expand Down

0 comments on commit a445758

Please sign in to comment.