Skip to content

Commit

Permalink
incorrect method (#222)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cook <rcook@redhat.com>
  • Loading branch information
cooktheryan committed Aug 4, 2022
1 parent 8db8b7e commit fa06f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/fetchit.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func getMethodTargetScheds(targetConfigs []*TargetConfig, fetchit *Fetchit) *Fet
}
}
if len(tc.Systemd) > 0 {
fetchit.allMethodTypes[rawMethod] = struct{}{}
fetchit.allMethodTypes[systemdMethod] = struct{}{}
for _, sd := range tc.Systemd {
sd.initialRun = true
sd.target = internalTarget
Expand Down

0 comments on commit fa06f31

Please sign in to comment.