Skip to content

Commit

Permalink
lxd/project/project: Fix type in comment in NetworkAllowed
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Dec 19, 2024
1 parent c1bd0e3 commit 5bdebbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func NetworkAllowed(reqProjectConfig map[string]string, networkName string, isMa
return true
}

// Check if reqquested network is in list of allowed networks.
// Check if requested network is in list of allowed networks.
allowedRestrictedNetworks := shared.SplitNTrimSpace(reqProjectConfig["restricted.networks.access"], ",", -1, false)
return shared.ValueInSlice(networkName, allowedRestrictedNetworks)
}
Expand Down

0 comments on commit 5bdebbd

Please sign in to comment.