Skip to content

Commit 4805552

Browse files
committed
Update lint and restore unit test
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
1 parent a550962 commit 4805552

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ formatters:
232232
- standard
233233
- default
234234
- prefix(github.com/crossplane/function-sdk-go)
235-
- prefix(github.com/crossplane/function-template-go)
235+
- prefix(github.com/crossplane/function-patch-and-transform)
236236
- blank
237237
- dot
238238
custom-order: true

connection_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,11 @@ func TestExtractConnectionDetails(t *testing.T) {
9393
},
9494
want: want{
9595
conn: managed.ConnectionDetails{
96-
"convfoo": []byte("a"),
97-
"bar": []byte("b"),
98-
"fixed": []byte("value"),
96+
"convfoo": []byte("a"),
97+
"bar": []byte("b"),
98+
"fixed": []byte("value"),
99+
"name": []byte("test"),
100+
"generation": []byte("4"),
99101
},
100102
},
101103
},

0 commit comments

Comments
 (0)