Skip to content

Commit

Permalink
Default version for results reader (#477)
Browse files Browse the repository at this point in the history
Fixes #476

Signed-off-by: Chuck Ha <[email protected]>
  • Loading branch information
chuckha authored and timothysc committed Jul 11, 2018
1 parent 6c60763 commit 52484b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/client/results/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ func DiscoverVersion(reader io.Reader) (string, error) {
} else if strings.HasPrefix(conf.Version, VersionTen) {
version = VersionTen
} else {
return "", errors.New("cannot discover Sonobuoy archive version")
// This should be the version with the most recent sonobuoy tarball layout.
version = VersionTen
}
return version, nil
}
Expand Down

0 comments on commit 52484b0

Please sign in to comment.