Skip to content

Commit

Permalink
✨ try manager's config before kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Feb 15, 2019
1 parent c2f9dae commit 28629e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/builder/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ func (blder *Builder) doConfig() error {
if blder.config != nil {
return nil
}
if blder.mgr != nil {
blder.config = blder.mgr.GetConfig()
}
var err error
blder.config, err = getConfig()
return err
Expand Down

0 comments on commit 28629e9

Please sign in to comment.