Skip to content

Commit

Permalink
add owner to app.yaml when creaing a new app with wasmer app create
Browse files Browse the repository at this point in the history
  • Loading branch information
ayys committed Mar 28, 2024
1 parent 90ef76a commit 618cb81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cli/src/commands/app/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ impl AppCreator {
let app_cfg = AppConfigV1 {
app_id: None,
name: app_name,
owner: Some(self.owner.clone()),
cli_args: None,
env: Default::default(),
volumes: None,
domains: None,
owner: None,
scaling: None,
package: edge_schema::schema::StringWebcIdent(edge_schema::schema::WebcIdent {
repository: None,
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/src/commands/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pub async fn deploy_app_verbose(
client: &WasmerClient,
opts: DeployAppOpts<'_>,
) -> Result<(DeployApp, DeployAppVersion), anyhow::Error> {
let owner = &opts.owner.or_else(|| opts.app.owner.clone());
let owner = &opts.owner.clone().or_else(|| opts.app.owner.clone());
let app = &opts.app;

let pretty_name = if let Some(owner) = &owner {
Expand Down

0 comments on commit 618cb81

Please sign in to comment.