mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
rename NomadConfig to ClientAgentConfig
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user