Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Changes to accomodate merge from head of the tree
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmsft committed Jul 11, 2019
1 parent b83764d commit e0ea111
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/k8s/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (c *KubeClient) GetPodInfo(podip string) (podns, poddname, deployment strin
return "", "", "", fmt.Errorf("podip is empty")
}

podList, err := c.getPodListRetry(podip, getPodListRetries, getPodListSleepTimeMilliseconds)
podList, err := c.getPodListWithTries(podip, getPodListRetries, getPodListSleepTimeMilliseconds)

if err != nil {
return "", "", "", err
Expand Down
4 changes: 0 additions & 4 deletions pkg/nmi/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,6 @@ func (s *Server) msiHandler(logger *log.Entry, w http.ResponseWriter, r *http.Re
micRegEx := regexp.MustCompile(`^mic-*`)
micMatch := micRegEx.MatchString(deployment)

// Request id and request resource extraction are common steps required for
// requests from mic as well as other applications.
rqClientID, rqResource := parseRequestClientIDAndResource(r)

// If its mic, then just directly get the token and pass back.
if micMatch {
var token *adal.Token
Expand Down

0 comments on commit e0ea111

Please sign in to comment.