Skip to content

Commit

Permalink
fix: Bump Version up
Browse files Browse the repository at this point in the history
  • Loading branch information
sirateek committed Mar 14, 2024
1 parent 422216f commit 154c143
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module example-non-docker-repo
go 1.21.6

require (
github.com/resource-aware-jds/container-lib v0.0.2
github.com/resource-aware-jds/container-lib v0.0.3
github.com/sirupsen/logrus v1.9.3
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dv
github.com/kelseyhightower/envconfig v1.4.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/resource-aware-jds/container-lib v0.0.2 h1:54gssM10U8zOqr3r2NbbCG8iF/lJtDB4AqhUkzpGNBc=
github.com/resource-aware-jds/container-lib v0.0.2/go.mod h1:heAW24559Es/2Ck9LsDk1tXkNENeGbbMM2IX5O0a2jc=
github.com/resource-aware-jds/container-lib v0.0.3 h1:lKwoTpWLH+H4KIF8MyYTmjZIrDkGvajtwpTrXVANi7g=
github.com/resource-aware-jds/container-lib v0.0.3/go.mod h1:heAW24559Es/2Ck9LsDk1tXkNENeGbbMM2IX5O0a2jc=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down
6 changes: 5 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ func main() {
err := json.Unmarshal(task.Attributes, &unmarshalledData)
if err != nil {
logrus.Error(err)
return err
}

time.Sleep(15 * time.Second)
fmt.Println(unmarshalledData)
time.Sleep(30 * time.Second)

ctx.Success()
ctx.RecordResult(task.Attributes)
return nil
})
}

0 comments on commit 154c143

Please sign in to comment.