fix: truly allow overridding default string array (#6874)

This commit is contained in:
Ammar Bandukwala
2023-03-31 12:12:03 -05:00
committed by GitHub
parent 96ff400587
commit 599699b3a9
7 changed files with 148 additions and 112 deletions

View File

@ -1090,7 +1090,7 @@ QastnN77KfUwdj3SJt44U/uh1jAIv4oSLBr8HYUkbnI8
func DeploymentValues(t *testing.T) *codersdk.DeploymentValues {
var cfg codersdk.DeploymentValues
opts := cfg.Options()
err := opts.SetDefaults()
err := opts.SetDefaults(nil)
require.NoError(t, err)
return &cfg
}