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

This commit is contained in:
Mathias Fredriksson
2022-11-24 14:22:20 +02:00
committed by GitHub
parent 8ff89c4288
commit eff99f78fa
21 changed files with 406 additions and 193 deletions

View File

@ -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)