Skip to content

Commit 710ca4f

Browse files
authored
Merge pull request #86 from datum-cloud/fix/resolve-panic-on-token-refresh
fix: set context to avoid panic on token refresh
2 parents 1c1cb5d + 73f9984 commit 710ca4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/client/factory.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ func NewDatumFactory(ctx context.Context) (*DatumCloudFactory, error) {
175175
baseConfigFlags.Context = nil
176176
configFlags := &CustomConfigFlags{
177177
ConfigFlags: baseConfigFlags,
178+
Context: ctx,
178179
Project: func() *string {
179180
m := ""
180181
return &m

0 commit comments

Comments
 (0)