Skip to content

Commit

Permalink
chore: update to 1.84.0 (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky authored Jan 20, 2025
1 parent 0dcfd9b commit e3075a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/agones/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ pub async fn create_tokenised_gameserver(

let mut gs = list.items[0].clone();
// add routing label to the GameServer
assert_eq!(3, token.as_bytes().len());
assert_eq!(3, token.len());
gs.metadata
.annotations
.get_or_insert(Default::default())
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.

[toolchain]
channel = "1.83.0"
channel = "1.84.0"
components = ["rustfmt", "clippy"]
2 changes: 1 addition & 1 deletion src/config/providers/k8s/agones.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl GameServer {
}

pub fn is_allocated(&self) -> bool {
self.status.as_ref().map_or(false, |status| {
self.status.as_ref().is_some_and(|status| {
tracing::trace!(?status.addresses, ?status.state, "checking gameserver");
matches!(status.state, GameServerState::Allocated)
})
Expand Down

0 comments on commit e3075a0

Please sign in to comment.