Skip to content

Commit

Permalink
fix some generation issues after dir migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
chebykinn committed May 12, 2024
1 parent e5d518b commit 28d35fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions assets/openapi/server-template/js/index.mustache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const config = require('./generated/config');
const logger = require('./generated/logger');
const ExpressServer = require('./generated/expressServer');
const config = require('../mify-generated/services/{{serviceName}}/config');
const logger = require('../mify-generated/services/{{serviceName}}/logger');
const ExpressServer = require('../mify-generated/services/{{serviceName}}/expressServer');

const launchServer = async () => {
try {
Expand Down
2 changes: 1 addition & 1 deletion cmd/mify/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func PersistentPostRun(cmd *cobra.Command, args []string) {

appContext.InitStatsCollector(desc.GetStatsQueueFile())
appContext.StatsCollector.LogCobraCommandExecuted(cmd)
_ = appContext.StatsCollector.MaybeSendStats()
//_ = appContext.StatsCollector.MaybeSendStats()
// TODO: return logger when it will be possible to write log to file only
// err := appContext.StatsCollector.MaybeSendStats()
// if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class MifyServiceContext:

def with_extra(self, extra):
self._extra = extra(self)
return self

@property
def hostname(self):
Expand Down

0 comments on commit 28d35fa

Please sign in to comment.