Skip to content

Commit cb1dc92

Browse files
authored
ai template fixes (#248)
* ai template fixes * go dep updates
1 parent 4c9a178 commit cb1dc92

File tree

5 files changed

+8
-6
lines changed
  • golem-templates/templates
    • go/go-app-common
    • python/python-app-component-example-gitpulse-agent/components-python/component-name
    • rust/rust-app-component-example-gitpulse-agent/components-rust/component-name

5 files changed

+8
-6
lines changed

golem-templates/templates/go/go-app-common/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require github.com/google/uuid v1.6.0
66

77
require go.bytecodealliance.org/cm v0.2.2
88

9-
require github.com/golemcloud/golem-go v1.3.2 // indirect
9+
require github.com/golemcloud/golem-go v1.3.3 // indirect
1010

1111
require (
1212
github.com/coreos/go-semver v0.3.1 // indirect

golem-templates/templates/go/go-app-common/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ github.com/golemcloud/golem-go v1.3.1 h1:oHsnHCJL8juR5Uop1gKOQ8DyBM5Diu6XpoPKQv+
88
github.com/golemcloud/golem-go v1.3.1/go.mod h1:jcJmXGDyYDUh9gQaVwEZa047SDZbadSJTIZe19Y3cs4=
99
github.com/golemcloud/golem-go v1.3.2 h1:I2XCmqnqhi0oDLI6P9R9jcIfuL5f5KHW08X+ZAPJbFc=
1010
github.com/golemcloud/golem-go v1.3.2/go.mod h1:jcJmXGDyYDUh9gQaVwEZa047SDZbadSJTIZe19Y3cs4=
11+
github.com/golemcloud/golem-go v1.3.3 h1:yns1ZCPdW1IjVf8vCJZzqkISZwPN+SRFqNjIPakB3EU=
12+
github.com/golemcloud/golem-go v1.3.3/go.mod h1:jcJmXGDyYDUh9gQaVwEZa047SDZbadSJTIZe19Y3cs4=
1113
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
1214
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
1315
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=

golem-templates/templates/python/python-app-component-example-gitpulse-agent/components-python/component-name/golem.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414

1515
httpApi:
1616
definitions:
17-
componentname:
17+
component-name:
1818
version: '0'
1919
routes:
2020
- method: POST
@@ -57,6 +57,6 @@ httpApi:
5757
# local:
5858
# - host: localhost:9006
5959
# definitions:
60-
# - componentname
60+
# - component-name
6161

6262
# golem-app-manifest-component-hints

golem-templates/templates/rust/rust-app-component-example-gitpulse-agent/components-rust/component-name/golem.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414

1515
httpApi:
1616
definitions:
17-
componentname:
17+
component-name:
1818
version: '0'
1919
routes:
2020
- method: POST
@@ -57,6 +57,6 @@ httpApi:
5757
# local:
5858
# - host: localhost:9006
5959
# definitions:
60-
# - componentname
60+
# - component-name
6161

6262
# golem-app-manifest-component-hints

golem-templates/templates/rust/rust-app-component-example-gitpulse-agent/components-rust/component-name/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn process_pull_request_notification(
152152
) -> EnhancedNotification {
153153
let pull_request = get_notification_subject::<github::PullRequest>(state, &notification);
154154

155-
if (pull_request.comments_url.is_none()) {
155+
if pull_request.comments_url.is_none() {
156156
panic!("body: {}", serde_json::to_string(&notification).unwrap());
157157
};
158158

0 commit comments

Comments
 (0)