Skip to content

Commit

Permalink
ui/solutions: Remove prepareEnv from Salt API
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengYanJin committed Mar 4, 2021
1 parent 5da0131 commit b31073f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ui/src/services/salt/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@ export async function printJob(jid) {
});
}

export async function prepareEnvironment(environment, version) {
return saltApiClient.post('/', {
client: 'runner_async',
fun: 'state.orchestrate',
arg: ['metalk8s.orchestrate.solutions.prepare-environment'],
kwarg: {
saltenv: `metalk8s-${version}`,
pillar: { orchestrate: { env_name: environment } },
},
});
}

export async function getNodesIPsInterfaces() {
return saltApiClient.post('/', {
client: 'local',
Expand Down

0 comments on commit b31073f

Please sign in to comment.