Change registry URL, tidy up diff
This commit is contained in:
parent
5af39e7956
commit
3a4327f50d
|
@ -159,7 +159,6 @@ impl MangoClient {
|
|||
Some(tuple) => tuple.1.fixed.account_num + 1,
|
||||
None => 0u32,
|
||||
};
|
||||
|
||||
Self::create_account(client, group, owner, payer, account_num, mango_account_name)
|
||||
.context("Failed to create account...")?;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Dockerfile for keeper service in Heroku
|
||||
# heroku container:push keeper -R -a HEROKU_APP_NAME
|
||||
# heroku container:release -a HEROKU_APP_NAME
|
||||
FROM gcr.io/mango-markets/mango-v4:latest
|
||||
FROM us-docker.pkg.dev/mango-markets/gcr.io/mango-v4:latest
|
||||
ENTRYPOINT ["keeper"]
|
||||
CMD ["crank"]
|
||||
|
|
|
@ -45,12 +45,6 @@ struct Cli {
|
|||
command: Command,
|
||||
}
|
||||
|
||||
fn keypair_from_path(p: &std::path::PathBuf) -> Keypair {
|
||||
let path = std::path::PathBuf::from_str(&*shellexpand::tilde(p.to_str().unwrap())).unwrap();
|
||||
keypair::read_keypair_file(path)
|
||||
.unwrap_or_else(|_| panic!("Failed to read keypair from {}", p.to_string_lossy()))
|
||||
}
|
||||
|
||||
#[derive(Subcommand, Debug, Clone)]
|
||||
enum Command {
|
||||
Crank {},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Dockerfile for keeper service in Heroku
|
||||
# heroku container:push keeper -R -a HEROKU_APP_NAME
|
||||
# heroku container:release -a HEROKU_APP_NAME
|
||||
FROM gcr.io/mango-markets/mango-v4:latest
|
||||
FROM us-docker.pkg.dev/mango-markets/gcr.io/mango-v4:latest
|
||||
ENTRYPOINT ["liquidator"]
|
||||
|
|
|
@ -35,7 +35,6 @@ async function main() {
|
|||
JSON.parse(fs.readFileSync(process.env.ADMIN_KEYPAIR!, 'utf-8')),
|
||||
),
|
||||
);
|
||||
|
||||
const group = await client.getGroupForCreator(admin.publicKey, GROUP_NUM);
|
||||
console.log(group.toString());
|
||||
|
||||
|
|
Loading…
Reference in New Issue