integration: use string-literals for easier grep'ing
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
96a1c444cc
commit
ddec605aef
1 changed files with 4 additions and 3 deletions
|
@ -251,9 +251,10 @@ func TestTemplatedConfig(t *testing.T) {
|
|||
Templating: &swarmtypes.Driver{
|
||||
Name: "golang",
|
||||
},
|
||||
Data: []byte("SERVICE_NAME={{.Service.Name}}\n" +
|
||||
"{{secret \"referencedsecrettarget\"}}\n" +
|
||||
"{{config \"referencedconfigtarget\"}}\n"),
|
||||
Data: []byte(`SERVICE_NAME={{.Service.Name}}
|
||||
{{secret "referencedsecrettarget"}}
|
||||
{{config "referencedconfigtarget"}}
|
||||
`),
|
||||
}
|
||||
|
||||
templatedConfig, err := c.ConfigCreate(ctx, configSpec)
|
||||
|
|
Loading…
Reference in a new issue