Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #57 from remyLemeunier/fix-fmt
Browse files Browse the repository at this point in the history
Fix context fmt.
  • Loading branch information
remyLemeunier authored Aug 28, 2017
2 parents ebb9451 + 01cccb6 commit b25e8be
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
)

type Context struct {
Deployer deployers.Deployer
Vcs services.Sources
Binaries services.Binaries
Hooks []hooks.Hooks
LockSystem utils.Lock
Log *log.Logger
ScreenMandatory bool
Deployer deployers.Deployer
Vcs services.Sources
Binaries services.Binaries
Hooks []hooks.Hooks
LockSystem utils.Lock
Log *log.Logger
ScreenMandatory bool
}

func NewContext(cfg *utils.Config, manifest *utils.Manifest) (*Context, error) {
Expand Down
2 changes: 1 addition & 1 deletion utils/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type Config struct {
ScreenMandatory bool
DeployerConfig `mapstructure:"deployers"`
VcsConfig `mapstructure:"sources"`
Binaries `mapstructure:"binaries"`
Binaries `mapstructure:"binaries"`
HookConfig `mapstructure:"hooks"`
LockSystemConfig `mapstructure:"lockSystem"`
}
Expand Down
6 changes: 3 additions & 3 deletions utils/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
)

type Manifest struct {
DeployerManifest `mapstructure:"deployment"`
VcsManifest `mapstructure:"sources"`
DeployerManifest `mapstructure:"deployment"`
VcsManifest `mapstructure:"sources"`
BinariesManifest `mapstructure:"binaries"`
HookManifest `mapstructure:"hooks"`
HookManifest `mapstructure:"hooks"`
}

type VcsManifest struct {
Expand Down

0 comments on commit b25e8be

Please sign in to comment.