Skip to content

Commit

Permalink
Issue argoproj#858 - Support loading resource events for multi-networ…
Browse files Browse the repository at this point in the history
…k apps (argoproj#865)
  • Loading branch information
alexmt authored Dec 3, 2018
1 parent 0693a6d commit 246392f
Show file tree
Hide file tree
Showing 14 changed files with 298 additions and 243 deletions.
10 changes: 5 additions & 5 deletions controller/services/application.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 46 additions & 46 deletions pkg/apis/application/v1alpha1/generated.pb.go

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions reposerver/repository/repository.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions server/account/account.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion server/application/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,9 @@ func (s *Server) ListResourceEvents(ctx context.Context, q *ApplicationResourceE
"involvedObject.namespace": a.Namespace,
}).String()
} else {
namespace = q.ResourceNamespace
var config *rest.Config
config, namespace, err = s.getApplicationClusterConfig(*q.Name)
config, _, err = s.getApplicationClusterConfig(*q.Name)
if err != nil {
return nil, err
}
Expand Down
Loading

0 comments on commit 246392f

Please sign in to comment.