Skip to content

Commit

Permalink
Bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Nov 24, 2024
1 parent 482e0f8 commit c7f92d6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion ui/app/components/job-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ export default class JobVersion extends Component {
}

@action async cloneAsNewJob() {
console.log('cloneAsNewJob');
try {
let job = await this.version.get('job');
let specification = await job.fetchRawSpecification(this.version.number);
Expand Down
3 changes: 0 additions & 3 deletions ui/app/routes/jobs/job/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ export default class DefinitionRoute extends Route {
definition = await job.fetchRawDefinition();
}

console.log({ definition });

let format = 'json'; // default to json in network request errors
let specification;
let variableFlags;
Expand All @@ -65,7 +63,6 @@ export default class DefinitionRoute extends Route {
variableFlags = specificationResponse?.VariableFlags ?? null;
variableLiteral = specificationResponse?.Variables ?? null;
format = specificationResponse?.Format ?? 'json';
console.log({ specification, variableFlags, variableLiteral, format });
} catch (e) {
// Swallow the error because Nomad job pre-1.6 will not have a specification
}
Expand Down
1 change: 0 additions & 1 deletion ui/tests/acceptance/job-versions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ module('Acceptance | job versions (clone and edit)', function (hooks) {
const versionBlock = '[data-test-job-version="98"]';
await click(`${versionBlock} [data-test-clone-and-edit]`);
await click(`${versionBlock} [data-test-clone-as-new-version]`);
console.log('namespace', namespace);

assert.equal(
currentURL(),
Expand Down

0 comments on commit c7f92d6

Please sign in to comment.