Skip to content

Commit

Permalink
Merge pull request #376 from Saranya-jena/version-cp
Browse files Browse the repository at this point in the history
Cherry-pick PR for #375
  • Loading branch information
Saranya-jena authored Oct 3, 2023
2 parents 3d62022 + dfbf85e commit 5259027
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/client/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ export default function MainHeader() {
.slice(0, 5)
.map((d: string) => (
<MenuItem value={d} key={d}>
{"v " + d}
{d}
</MenuItem>
))}
<MenuItem value={"master"}>master</MenuItem>
<MenuItem
component="a"
href="https://github.com/litmuschaos/chaos-charts/branches/all"
Expand Down
5 changes: 3 additions & 2 deletions app/server/pkg/gitops/gitwork.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ package gitops
import (
"encoding/json"
"fmt"
"github.com/hashicorp/go-version"
"io/ioutil"
"os"
"sort"
"strings"
"time"

"github.com/hashicorp/go-version"

log "github.com/sirupsen/logrus"
"gopkg.in/src-d/go-git.v4"
"gopkg.in/src-d/go-git.v4/plumbing"
Expand Down Expand Up @@ -87,7 +88,7 @@ func (c GitConfig) getChaosChartVersion() ([]string, error) {
}
versions := []*version.Version{}
versionStrings := []string{}
versionLimiter, err := version.NewVersion("3.1.0")
versionLimiter, err := version.NewVersion("3.0.0")
if err != nil {
return nil, fmt.Errorf("unable to get limit version object, err: %+v", err)
}
Expand Down

0 comments on commit 5259027

Please sign in to comment.