Commit f971aa9c authored by Slawek Figiel's avatar Slawek Figiel
Browse files

[#682] More ellegant notation

parent 5e5aaa55
......@@ -138,7 +138,7 @@ func TestMachineDumpExecuteHideSecrets(t *testing.T) {
// Assert
app := machine.Apps[0]
daemon := app.Daemons[0]
config := *(*map[string]interface{})(daemon.KeaDaemon.Config.Map)
config := *daemon.KeaDaemon.Config.Map
secret := (config["Dhcp4"]).(map[string]interface{})["secret"]
require.Nil(t, secret)
require.Empty(t, machine.AgentToken)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment