mirror of
https://github.com/coder/coder.git
synced 2025-07-30 22:19:53 +00:00
fix: allow overridding default string array (#6873)
* fix: allow overridding default string array * Cleanup code * fixup! Cleanup code * fixup! Cleanup code * fixup! Cleanup code * fixup! Cleanup code
This commit is contained in:
@@ -44,7 +44,7 @@ func TestOption_ToYAML(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
err := os.SetDefaults()
|
||||
err := os.SetDefaults(nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
n, err := os.ToYAML()
|
||||
|
Reference in New Issue
Block a user