Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid replacing metadata values with the string mismatched #540

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions admin/templates/components/page-modals.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,24 +193,22 @@ <h4 class="modal-title">Add new query to schedule</h4>
</div>
<div class="modal-body">
<div class="form-group row">
<label class="col-md-3 col-form-label" for="query_name">Qury name: </label>
<div class="col-md-9">
<label class="col-md-2 col-form-label" for="query_name">Query name: </label>
<div class="col-md-4">
<input class="form-control" name="query_name" id="query_name" type="text" autocomplete="off"
autofocus>
</div>
<label class="col-md-3 col-form-label" for="query_interval">Interval in seconds: </label>
<div class="col-md-3">
<input class="form-control" name="query_interval" id="query_interval" type="text" autocomplete="off">
</div>
</div>
<div class="form-group row">
<label class="col-md-3 col-form-label" for="query_sql">SQL Query: </label>
<div class="col-md-9">
<input class="form-control" name="query_sql" id="query_sql" type="text" autocomplete="off">
</div>
</div>
<div class="form-group row">
<label class="col-md-3 col-form-label" for="query_interval">Interval in seconds: </label>
<div class="col-md-9">
<input class="form-control" name="query_interval" id="query_interval" type="text" autocomplete="off">
</div>
</div>
</div>
<div class="modal-footer">
<button id="addquery_action" type="button" class="btn btn-dark" data-dismiss="modal">Add</button>
Expand Down
1 change: 0 additions & 1 deletion logging/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func metadataVerification(dst, src string) string {
return src
}
log.Warn().Msgf("mismatched metadata: %s != %s", dst, src)
return Mismatched
}
return src
}
Expand Down
Loading