Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviazhang0809 committed Dec 6, 2017
1 parent c76a479 commit c194788
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/repository/endpoint_update.go
Expand Up @@ -117,7 +117,8 @@ func updateServiceMetaJSON(configDir, serviceConfigJSONPath string, cfg *Endpoin
if i < len(endpoints) && endpoints[i] == cfg.ClientID {
return nil
}
endpoints = append(endpoints, cfg.ClientID)
// update endpoint list with the new client id
fileContent.Dependencies["endpoint"] = append(fileContent.Dependencies["endpoint"], cfg.ClientID)
return writeToJSONFile(metaFilePath, fileContent)
}

Expand Down

0 comments on commit c194788

Please sign in to comment.