feat: Add support for MOTD file in coder agents (#5147)

This commit is contained in:
Mathias Fredriksson
2022-11-24 12:22:20 +00:00
committed by GitHub
parent 8ff89c4288
commit eff99f78fa
21 changed files with 404 additions and 191 deletions
@@ -898,6 +898,7 @@ func InsertWorkspaceResource(ctx context.Context, db database.Store, jobID uuid.
},
ConnectionTimeoutSeconds: prAgent.GetConnectionTimeoutSeconds(),
TroubleshootingURL: prAgent.GetTroubleshootingUrl(),
MOTDFile: prAgent.GetMotdFile(),
})
if err != nil {
return xerrors.Errorf("insert agent: %w", err)