Skip to content

Commit

Permalink
chore: update kurtosis sdk version (#97)
Browse files Browse the repository at this point in the history
* chore: update kurtosis sdk version

* chore: update error logging
  • Loading branch information
shreyasbhat0 authored Aug 3, 2023
1 parent aecb89c commit 5fc0805
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cli/common/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package common
var DiveLogs bool

// !!!!!!!!!!! DO NOT UPDATE! WILL BE UPDATED DURING THE RELEASE PROCESS !!!!!!!!!!!!!!!!!!!!!!
var DiveVersion = "v0.0.3-beta"
var DiveVersion = "v0.0.4-beta"

const (
DiveEnclave = "dive"
Expand Down
4 changes: 2 additions & 2 deletions cli/common/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (diveContext *DiveContext) GetEnclaveContext() (*enclaves.EnclaveContext, e

_, err := diveContext.KurtosisContext.GetEnclave(diveContext.Ctx, DiveEnclave)
if err != nil {
enclaveCtx, err := diveContext.KurtosisContext.CreateEnclave(diveContext.Ctx, DiveEnclave, false)
enclaveCtx, err := diveContext.KurtosisContext.CreateEnclave(diveContext.Ctx, DiveEnclave)
if err != nil {
return nil, err

Expand Down Expand Up @@ -181,7 +181,7 @@ func (diveContext *DiveContext) InitKurtosisContext() {
kurtosisContext, err := kurtosis_context.NewKurtosisContextFromLocalEngine()
if err != nil {
diveContext.Log.SetOutput(os.Stderr)
diveContext.Log.Fatal("The Kurtosis Engine Server is unavailable and is probably not running; you will need to start it using the Kurtosis CLI before you can create a connection to it")
diveContext.Log.Fatalf("The Kurtosis Engine Error: %s", err)

}
diveContext.KurtosisContext = kurtosisContext
Expand Down
5 changes: 2 additions & 3 deletions cli/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/briandowns/spinner v1.23.0
github.com/fatih/color v1.15.0
github.com/google/go-github v17.0.0+incompatible
github.com/kurtosis-tech/kurtosis/api/golang v0.80.19
github.com/kurtosis-tech/kurtosis/api/golang v0.81.3
github.com/kurtosis-tech/stacktrace v0.0.0-20211028211901-1c67a77b5409
github.com/natefinch/lumberjack v2.0.0+incompatible
github.com/sirupsen/logrus v1.9.3
Expand All @@ -26,9 +26,8 @@ require (
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.11.4 // indirect
github.com/klauspost/pgzip v1.2.5 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kurtosis-tech/kurtosis-portal/api/golang v0.0.0-20230712110324-ce92904bb514 // indirect
github.com/kurtosis-tech/kurtosis/grpc-file-transfer/golang v0.0.0-20230427135111-ee2492059d06 // indirect
github.com/kurtosis-tech/kurtosis/grpc-file-transfer/golang v0.0.0-20230803130419-099ee7a4e3dc // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mholt/archiver/v3 v3.5.1 // indirect
Expand Down

0 comments on commit 5fc0805

Please sign in to comment.