rename NomadConfig to ClientAgentConfig

This commit is contained in:
Nick Ethier
2018-10-29 21:34:34 -04:00
parent b837bf3ce3
commit 95d381cff7
25 changed files with 67 additions and 68 deletions

View File

@@ -116,7 +116,7 @@ func (d *FsDevice) ConfigSchema() (*hclspec.Spec, error) {
}
// SetConfig is used to set the configuration of the plugin.
func (d *FsDevice) SetConfig(data []byte, cfg *base.NomadConfig) error {
func (d *FsDevice) SetConfig(data []byte, cfg *base.ClientAgentConfig) error {
var config Config
if err := base.MsgPackDecode(data, &config); err != nil {
return err