-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DX: omit empty fields like 'private_network' which have an empty valu…
…e which can mislead users
- Loading branch information
Showing
27 changed files
with
318 additions
and
1,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ import ( | |
"path/filepath" | ||
) | ||
|
||
func Pointer[T any](d T) *T { | ||
return &d | ||
} | ||
|
||
func init() { | ||
initLogger() | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
bonsai/fixtures/golden/TestClientVCRTestSuite-TestClusterClient-Create
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"message": "Your cluster is being provisioned.", | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-2471463249", | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-5431547241", | ||
"access": { | ||
"host": "bonsai-api-go-2471463249", | ||
"host": "bonsai-api-go-5431547241", | ||
"port": 443, | ||
"scheme": "https", | ||
"user": "REDACTED", | ||
"pass": "REDACTED", | ||
"url": "://REDACTED:REDACTED" | ||
"url": "://REDACTED:REDACTED@" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
bonsai/fixtures/golden/TestClientVCRTestSuite-TestClusterClient-Delete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"message": "Your cluster is being deprovisioned.", | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-9994392953" | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-5431547241" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bonsai/fixtures/golden/TestClientVCRTestSuite-TestClusterClient-Update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"message": "Your cluster is being updated.", | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-2471463249" | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-5431547241" | ||
} |
Oops, something went wrong.