Skip to content

Commit 8596e92

Browse files
committed
add open_in logic
1 parent bd9d40b commit 8596e92

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

coderd/workspacebuilds.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,6 @@ func (api *API) workspaceBuildsData(ctx context.Context, workspaceBuilds []datab
750750
return workspaceBuildsData{}, err
751751
}
752752

753-
api.Logger.Warn(ctx, "fetched apps", slog.F("apps", apps))
754-
755753
return workspaceBuildsData{
756754
jobs: jobs,
757755
templateVersions: templateVersions,

provisioner/terraform/resources.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ type agentAppAttributes struct {
8484
Healthcheck []appHealthcheckAttributes `mapstructure:"healthcheck"`
8585
Order int64 `mapstructure:"order"`
8686
Hidden bool `mapstructure:"hidden"`
87-
<<<<<<< Updated upstream
8887
OpenIn string `mapstructure:"open_in"`
89-
=======
90-
OpenIn string `mapstructure:"open_in"`
91-
>>>>>>> Stashed changes
9288
}
9389

9490
type agentEnvAttributes struct {
@@ -397,8 +393,6 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
397393
return nil, xerrors.Errorf("decode app attributes: %w", err)
398394
}
399395

400-
logger.Warn(ctx, "RESOUUUUURCE : ", slog.F("resource", attrs))
401-
402396
// Default to the resource name if none is set!
403397
if attrs.Slug == "" {
404398
attrs.Slug = resource.Name
@@ -460,11 +454,7 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
460454
Healthcheck: healthcheck,
461455
Order: attrs.Order,
462456
Hidden: attrs.Hidden,
463-
<<<<<<< Updated upstream
464457
OpenIn: attrs.OpenIn,
465-
=======
466-
OpenIn: attrs.OpenIn,
467-
>>>>>>> Stashed changes
468458
})
469459
}
470460
}

0 commit comments

Comments
 (0)