mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 01:07:27 +00:00
Change default to use const
Signed-off-by: Philip Laine <philip.laine@gmail.com>
This commit is contained in:
parent
d236a9af57
commit
3b249dfe69
1 changed files with 6 additions and 2 deletions
|
|
@ -16,7 +16,11 @@ limitations under the License.
|
|||
|
||||
package sync
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"time"
|
||||
|
||||
sourcev1 "github.com/fluxcd/source-controller/api/v1beta1"
|
||||
)
|
||||
|
||||
type Options struct {
|
||||
Interval time.Duration
|
||||
|
|
@ -38,6 +42,6 @@ func MakeDefaultOptions() Options {
|
|||
Branch: "main",
|
||||
ManifestFile: "gotk-sync.yaml",
|
||||
TargetPath: "",
|
||||
GitImplementation: "go-git",
|
||||
GitImplementation: sourcev1.GoGitImplementation,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue